socialappslab / appcivist-pb-client

Web Client of AppCivist, for the instance of Participatory Budgeting
Other
4 stars 2 forks source link

Display campaign titles and time to starting/ending dates in campaign page #69

Closed cdparra closed 8 years ago

cdparra commented 8 years ago
cdparra commented 8 years ago

Quick update: I simplified the model of campaigns so that you can access more directly the components, milestones and its contributions: Below is an example of a campaign. For a better navigation, try visiting the same example in this link

[
  {
    "lang": "en",
    "title": "Belleville - Paris PB 2016",
    "listed": true,
    "configs": [
      {
        "key": "campaign.pb.budget",
        "value": "500000"
      },
      {
        "key": "campaign.pb.budget.currency",
        "value": "EUR"
      },
      {
        "key": "campaign.pb.use-linked-campaign-deliberation",
        "value": "TRUE"
      }
    ],
    "themes": [
      {
        "themeId": 1
      },
      {
        "themeId": 2
      }
    ],
    "components": [
      {
        "title": "Proposal Making",
        "position": 0,
        "timeline": 1,
        "component": {
          "componentId": 1
        },
        "configs": [
          {
            "key": "assembly.face-to-face.scheduling",
            "value": "true"
          },
          {
            "key": "assembly.enable.messaging",
            "value": "true"
          }
        ],
        "milestones": [
          {
            "title": "Brainstorming",
            "position": 0,
            "start": "YYYY-mm-dd HH:mm:ss",
            "duration": "10"
          },
          {
            "title": "Working Group Formation",
            "position": 1,
            "start": "YYYY-mm-dd HH:mm:ss",
            "duration": "10"
          },
          {
            "title": "Proposal Drafting",
            "position": 2,
            "start": "YYYY-mm-dd HH:mm:ss",
            "duration": "10"
          },
          {
            "title": "Complete Draft",
            "position": 3,
            "start": "YYYY-mm-dd HH:mm:ss",
            "duration": "10"
          }
        ]
      },
      {
        "position": 1,
        "timeline": 1,
        "component": {
          "componentId": 2,
          "uuid": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
          "name": "Versioning",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 2,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "d75a1b74-0890-4cff-889d-9ef67d6b5976",
                "key": "phase.enable.agreement.scores",
                "valueType": "Boolean",
                "description": "Enable the system of automatic computation of agreement on contributions",
                "defaultValue": "false",
                "configTarget": "COMPONENT"
              }
            }
          ]
        },
        "milestones": [
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 5,
            "title": "Proposal editing",
            "position": 4,
            "start": 1448582400000,
            "days": 15,
            "uuid": "31baf6b9-3d16-4d40-ad78-f61c08c36cce",
            "uuidAsString": "31baf6b9-3d16-4d40-ad78-f61c08c36cce"
          },
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 6,
            "title": "Final proposal/s",
            "position": 5,
            "start": 1449792000000,
            "days": 1,
            "uuid": "c507fca3-9f78-40eb-8027-cde725ddd03c",
            "uuidAsString": "c507fca3-9f78-40eb-8027-cde725ddd03c"
          },
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 7,
            "title": "Proposal selection",
            "position": 6,
            "start": 1449878400000,
            "days": 5,
            "uuid": "17bebe35-7610-4190-a345-f2b4282742c1",
            "uuidAsString": "17bebe35-7610-4190-a345-f2b4282742c1"
          }
        ]
      },
      {
        "creation": "2015-09-22 08:39 AM GMT",
        "lastUpdate": "2015-09-22 08:39 AM GMT",
        "lang": "en",
        "removed": false,
        "componentInstanceId": 3,
        "startDate": 1450310400000,
        "endDate": 1452988800000,
        "uuid": "f4328e2c-d2a8-4a26-b9a1-4457acdb7f40",
        "position": 2,
        "timeline": 1,
        "component": {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "componentId": 3,
          "uuid": "12fa0038-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
          "name": "Deliberation",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 3,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "d87ebe18-1ef6-4b03-bc82-49c044269efd",
                "key": "phase.enable.comments.threads",
                "valueType": "Boolean",
                "description": "Enable comments on comments",
                "defaultValue": "false",
                "configTarget": "COMPONENT"
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 4,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "2dd63270-abc3-42a0-a90f-9fe4127bf7ef",
                "key": "phase.maximum.level.thread",
                "valueType": "Integer",
                "description": "Maximum depth of threading in comments",
                "defaultValue": "false",
                "configTarget": "COMPONENT"
              }
            }
          ]
        },
        "milestones": [
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 8,
            "title": "Deliberation starts",
            "position": 7,
            "start": 1450310400000,
            "days": 10,
            "uuid": "6657671d-b700-4f82-8e04-fbd0442c5e15",
            "uuidAsString": "6657671d-b700-4f82-8e04-fbd0442c5e15"
          },
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 9,
            "title": "Technical Assessment",
            "position": 8,
            "start": 1452038400000,
            "days": 10,
            "uuid": "bc9b7c05-bd78-4955-888b-25bd29f20a81",
            "uuidAsString": "bc9b7c05-bd78-4955-888b-25bd29f20a81"
          },
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 10,
            "title": "Deliberation finishes",
            "position": 9,
            "start": 1452902400000,
            "days": 1,
            "uuid": "a8adf2c6-89d0-491e-8579-38a0373ec63f",
            "uuidAsString": "a8adf2c6-89d0-491e-8579-38a0373ec63f"
          }
        ]
      },
      {
        "creation": "2015-09-22 08:39 AM GMT",
        "lastUpdate": "2015-09-22 08:39 AM GMT",
        "lang": "en",
        "removed": false,
        "componentInstanceId": 4,
        "startDate": 1452988800000,
        "endDate": 1454371200000,
        "uuid": "7184f2c0-f4b5-41ed-9907-141ecd070848",
        "position": 3,
        "timeline": 1,
        "component": {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "componentId": 4,
          "uuid": "12fa0196-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12fa0196-407a-11e5-a151-feff819cdc9f",
          "name": "Voting",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 5,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "0f1c20fa-24b8-4f35-9d4b-405f1ad54768",
                "key": "phase.voting.system",
                "valueType": "String",
                "description": "Unranked, Ranked, Range, Distributed",
                "defaultValue": "Range",
                "configTarget": "COMPONENT"
              }
            }
          ]
        },
        "milestones": [
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 11,
            "title": "Voting Starts",
            "position": 10,
            "start": 1452988800000,
            "days": 15,
            "uuid": "ebabfaac-3636-4c28-b281-821578504158",
            "uuidAsString": "ebabfaac-3636-4c28-b281-821578504158"
          },
          {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removed": false,
            "componentInstanceMilestoneId": 12,
            "title": "Voting Ends",
            "position": 11,
            "start": 1454284800000,
            "days": 1,
            "uuid": "a43b9cae-a2ab-4e84-8744-b6a363141249",
            "uuidAsString": "a43b9cae-a2ab-4e84-8744-b6a363141249"
          }
        ]
      }
    ],
    "template": {
      "creation": "2015-09-22 08:39 AM GMT",
      "lastUpdate": "2015-09-22 08:39 AM GMT",
      "lang": "en",
      "removed": false,
      "campaignTemplateId": 1,
      "nameKey": "PARTICIPATORY_BUDGETING",
      "name": "Participatory Budgeting",
      "defaultComponents": [
        {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "componentId": 1,
          "uuid": "12f9fd18-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
          "name": "Brainstorming",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 1,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "55c341a4-8f4d-4193-b1ae-59551826543b",
                "key": "phase.maximum.contributions",
                "valueType": "Integer",
                "description": "Maximun number of Contributions to accept",
                "defaultValue": "100",
                "configTarget": "COMPONENT"
              }
            }
          ],
          "requiredMilestones": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 1,
              "title": "Brainstorming",
              "position": 0,
              "targetComponentUuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 1,
                "uuid": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "name": "Brainstorming",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 1,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "55c341a4-8f4d-4193-b1ae-59551826543b",
                      "key": "phase.maximum.contributions",
                      "valueType": "Integer",
                      "description": "Maximun number of Contributions to accept",
                      "defaultValue": "100",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 2,
              "title": "Working Group Formation",
              "position": 1,
              "targetComponentUuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 1,
                "uuid": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "name": "Brainstorming",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 1,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "55c341a4-8f4d-4193-b1ae-59551826543b",
                      "key": "phase.maximum.contributions",
                      "valueType": "Integer",
                      "description": "Maximun number of Contributions to accept",
                      "defaultValue": "100",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 3,
              "title": "Proposal Drafting",
              "position": 2,
              "targetComponentUuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 1,
                "uuid": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "name": "Brainstorming",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 1,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "55c341a4-8f4d-4193-b1ae-59551826543b",
                      "key": "phase.maximum.contributions",
                      "valueType": "Integer",
                      "description": "Maximun number of Contributions to accept",
                      "defaultValue": "100",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 4,
              "title": "Complete Draft",
              "position": 3,
              "targetComponentUuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 1,
                "uuid": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fd18-407a-11e5-a151-feff819cdc9f",
                "name": "Brainstorming",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 1,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "55c341a4-8f4d-4193-b1ae-59551826543b",
                      "key": "phase.maximum.contributions",
                      "valueType": "Integer",
                      "description": "Maximun number of Contributions to accept",
                      "defaultValue": "100",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "componentId": 2,
          "uuid": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
          "name": "Versioning",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 2,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "d75a1b74-0890-4cff-889d-9ef67d6b5976",
                "key": "phase.enable.agreement.scores",
                "valueType": "Boolean",
                "description": "Enable the system of automatic computation of agreement on contributions",
                "defaultValue": "false",
                "configTarget": "COMPONENT"
              }
            }
          ],
          "requiredMilestones": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 5,
              "title": "Proposal editing",
              "position": 4,
              "targetComponentUuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 2,
                "uuid": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
                "name": "Versioning",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 2,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "d75a1b74-0890-4cff-889d-9ef67d6b5976",
                      "key": "phase.enable.agreement.scores",
                      "valueType": "Boolean",
                      "description": "Enable the system of automatic computation of agreement on contributions",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 6,
              "title": "Final proposal/s",
              "position": 5,
              "targetComponentUuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 2,
                "uuid": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
                "name": "Versioning",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 2,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "d75a1b74-0890-4cff-889d-9ef67d6b5976",
                      "key": "phase.enable.agreement.scores",
                      "valueType": "Boolean",
                      "description": "Enable the system of automatic computation of agreement on contributions",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 7,
              "title": "Proposal selection",
              "position": 6,
              "targetComponentUuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 2,
                "uuid": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12f9fe3a-407a-11e5-a151-feff819cdc9f",
                "name": "Versioning",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 2,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "d75a1b74-0890-4cff-889d-9ef67d6b5976",
                      "key": "phase.enable.agreement.scores",
                      "valueType": "Boolean",
                      "description": "Enable the system of automatic computation of agreement on contributions",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "componentId": 3,
          "uuid": "12fa0038-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
          "name": "Deliberation",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 3,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "d87ebe18-1ef6-4b03-bc82-49c044269efd",
                "key": "phase.enable.comments.threads",
                "valueType": "Boolean",
                "description": "Enable comments on comments",
                "defaultValue": "false",
                "configTarget": "COMPONENT"
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 4,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "2dd63270-abc3-42a0-a90f-9fe4127bf7ef",
                "key": "phase.maximum.level.thread",
                "valueType": "Integer",
                "description": "Maximum depth of threading in comments",
                "defaultValue": "false",
                "configTarget": "COMPONENT"
              }
            }
          ],
          "requiredMilestones": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 8,
              "title": "Deliberation starts",
              "position": 7,
              "targetComponentUuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 3,
                "uuid": "12fa0038-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
                "name": "Deliberation",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 4,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "2dd63270-abc3-42a0-a90f-9fe4127bf7ef",
                      "key": "phase.maximum.level.thread",
                      "valueType": "Integer",
                      "description": "Maximum depth of threading in comments",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  },
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 3,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "d87ebe18-1ef6-4b03-bc82-49c044269efd",
                      "key": "phase.enable.comments.threads",
                      "valueType": "Boolean",
                      "description": "Enable comments on comments",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 9,
              "title": "Technical Assessment",
              "position": 8,
              "targetComponentUuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 3,
                "uuid": "12fa0038-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
                "name": "Deliberation",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 4,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "2dd63270-abc3-42a0-a90f-9fe4127bf7ef",
                      "key": "phase.maximum.level.thread",
                      "valueType": "Integer",
                      "description": "Maximum depth of threading in comments",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  },
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 3,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "d87ebe18-1ef6-4b03-bc82-49c044269efd",
                      "key": "phase.enable.comments.threads",
                      "valueType": "Boolean",
                      "description": "Enable comments on comments",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 10,
              "title": "Deliberation finishes",
              "position": 9,
              "targetComponentUuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 3,
                "uuid": "12fa0038-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12fa0038-407a-11e5-a151-feff819cdc9f",
                "name": "Deliberation",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 4,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "2dd63270-abc3-42a0-a90f-9fe4127bf7ef",
                      "key": "phase.maximum.level.thread",
                      "valueType": "Integer",
                      "description": "Maximum depth of threading in comments",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  },
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 3,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "d87ebe18-1ef6-4b03-bc82-49c044269efd",
                      "key": "phase.enable.comments.threads",
                      "valueType": "Boolean",
                      "description": "Enable comments on comments",
                      "defaultValue": "false",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            }
          ]
        },
        {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "componentId": 4,
          "uuid": "12fa0196-407a-11e5-a151-feff819cdc9f",
          "uuidAsString": "12fa0196-407a-11e5-a151-feff819cdc9f",
          "name": "Voting",
          "requiredConfigurations": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removed": false,
              "componentRequiredConfigurationId": 5,
              "configDefinition": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removal": null,
                "removed": false,
                "uuid": "0f1c20fa-24b8-4f35-9d4b-405f1ad54768",
                "key": "phase.voting.system",
                "valueType": "String",
                "description": "Unranked, Ranked, Range, Distributed",
                "defaultValue": "Range",
                "configTarget": "COMPONENT"
              }
            }
          ],
          "requiredMilestones": [
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 11,
              "title": "Voting Starts",
              "position": 10,
              "targetComponentUuidAsString": "12fa0196-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 4,
                "uuid": "12fa0196-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12fa0196-407a-11e5-a151-feff819cdc9f",
                "name": "Voting",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 5,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "0f1c20fa-24b8-4f35-9d4b-405f1ad54768",
                      "key": "phase.voting.system",
                      "valueType": "String",
                      "description": "Unranked, Ranked, Range, Distributed",
                      "defaultValue": "Range",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            },
            {
              "creation": "2015-09-22 08:39 AM GMT",
              "lastUpdate": "2015-09-22 08:39 AM GMT",
              "lang": "en",
              "removal": null,
              "removed": false,
              "componentRequiredMilestoneId": 12,
              "title": "Voting Ends",
              "position": 11,
              "targetComponentUuidAsString": "12fa0196-407a-11e5-a151-feff819cdc9f",
              "component": {
                "creation": "2015-09-22 08:39 AM GMT",
                "lastUpdate": "2015-09-22 08:39 AM GMT",
                "lang": "en",
                "removed": false,
                "componentId": 4,
                "uuid": "12fa0196-407a-11e5-a151-feff819cdc9f",
                "uuidAsString": "12fa0196-407a-11e5-a151-feff819cdc9f",
                "name": "Voting",
                "requiredConfigurations": [
                  {
                    "creation": "2015-09-22 08:39 AM GMT",
                    "lastUpdate": "2015-09-22 08:39 AM GMT",
                    "lang": "en",
                    "removed": false,
                    "componentRequiredConfigurationId": 5,
                    "configDefinition": {
                      "creation": "2015-09-22 08:39 AM GMT",
                      "lastUpdate": "2015-09-22 08:39 AM GMT",
                      "lang": "en",
                      "removal": null,
                      "removed": false,
                      "uuid": "0f1c20fa-24b8-4f35-9d4b-405f1ad54768",
                      "key": "phase.voting.system",
                      "valueType": "String",
                      "description": "Unranked, Ranked, Range, Distributed",
                      "defaultValue": "Range",
                      "configTarget": "COMPONENT"
                    }
                  }
                ]
              }
            }
          ]
        }
      ],
      "requiredConfigurations": [
        {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "campaignRequiredConfigurationId": 1,
          "configDefinition": {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removal": null,
            "removed": false,
            "uuid": "913928aa-663f-47ee-a208-e10df8667f2b",
            "key": "campaign.pb.budget",
            "valueType": "Double",
            "description": "Amount to spend in winning projects",
            "defaultValue": null,
            "configTarget": "CAMPAIGN"
          }
        },
        {
          "creation": "2015-09-22 08:39 AM GMT",
          "lastUpdate": "2015-09-22 08:39 AM GMT",
          "lang": "en",
          "removed": false,
          "campaignRequiredConfigurationId": 2,
          "configDefinition": {
            "creation": "2015-09-22 08:39 AM GMT",
            "lastUpdate": "2015-09-22 08:39 AM GMT",
            "lang": "en",
            "removal": null,
            "removed": false,
            "uuid": "eecdc837-0753-4a2c-949d-096cb7f4b2bb",
            "key": "campaign.pb.budget.currency",
            "valueType": "String",
            "description": "Currency of the amount to spend in winning projects",
            "defaultValue": "USD",
            "configTarget": "CAMPAIGN"
          }
        }
      ]
    },
    "endDate": "2016-02-02 00:00 AM GMT",
    "startDate": "2015-09-01 00:00 AM GMT",
    "active": true
  }
]