{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "_namespaces": {
      "schema": "https://schema.org/",
      "foaf": "http://xmlns.com/foaf/0.1/",
      "org": "http://www.w3.org/ns/org#",
      "ixo": "https://w3id.org/ixo/vocab/"
    },
    "title": "Climate Action Report",
    "description": "Tell us what your group mapped, what you did in the field, and what came of it. A red star * means you must answer.",
    "pages": [
      {
        "name": "page_remote_mapping",
        "title": "Remote Mapping (All)",
        "description": "Who in your group mapped on OpenStreetMap.",
        "elements": [
          {
            "type": "panel",
            "name": "ixo:RemoteMapping",
            "title": "OpenStreetMap Accounts",
            "elements": [
              {
                "type": "paneldynamic",
                "name": "foaf:account",
                "title": "List of OpenStreetMap Usernames of the participants",
                "description": "Add one username at a time. Use the name each person signs in to OpenStreetMap with — not their email address.",
                "isRequired": true,
                "templateTitle": "Mapper {panelIndex}",
                "templateElements": [
                  {
                    "type": "text",
                    "name": "foaf:accountName",
                    "title": "OpenStreetMap username",
                    "isRequired": true
                  }
                ],
                "panelCount": 1,
                "minPanelCount": 1,
                "maxPanelCount": 100,
                "panelAddText": "Add another username",
                "panelRemoveText": "Remove",
                "confirmDelete": true,
                "confirmDeleteText": "Remove this username?",
                "showQuestionNumbers": "off"
              }
            ]
          }
        ]
      },
      {
        "name": "page_field_exercise",
        "title": "Field Exercise (Climate Action) Report",
        "description": "Share your files, links and what happened on the ground.",
        "elements": [
          {
            "type": "panel",
            "name": "ixo:ClimateMappingAction",
            "title": "Your Evidence",
            "elements": [
              {
                "type": "file",
                "name": "schema:associatedMedia",
                "title": "ChatMap File",
                "description": "Upload the ChatMap file from your field exercise. One file, up to 10 MB.",
                "allowMultiple": false,
                "maxSize": 10485760,
                "storeDataAsText": false,
                "waitForUpload": true,
                "isRequired": true
              },
              {
                "type": "text",
                "name": "schema:url",
                "title": "Umap Link",
                "description": "The web link to your finished uMap. It starts with https://",
                "validators": [
                  {
                    "type": "regex",
                    "text": "Please paste a link that starts with http:// or https://",
                    "regex": "^https?://\\S+$"
                  }
                ],
                "isRequired": true
              },
              {
                "type": "text",
                "name": "schema:image",
                "title": "Link to activity photos",
                "description": "A link to the folder with your photos, for example on Google Drive. Please check that anyone with the link can open it.",
                "validators": [
                  {
                    "type": "regex",
                    "text": "Please paste a link that starts with http:// or https://",
                    "regex": "^https?://\\S+$"
                  }
                ],
                "isRequired": true
              },
              {
                "type": "paneldynamic",
                "name": "org:hasMember",
                "title": "List of participants",
                "description": "Add one participant at a time — everyone who took part in the field exercise.",
                "isRequired": true,
                "templateTitle": "Participant {panelIndex}",
                "templateElements": [
                  {
                    "type": "text",
                    "name": "schema:name",
                    "title": "Full name",
                    "isRequired": true
                  }
                ],
                "panelCount": 1,
                "minPanelCount": 1,
                "maxPanelCount": 100,
                "panelAddText": "Add another participant",
                "panelRemoveText": "Remove",
                "confirmDelete": true,
                "confirmDeleteText": "Remove this participant?",
                "showQuestionNumbers": "off"
              }
            ]
          }
        ]
      },
      {
        "name": "page_summary_of_outcomes",
        "title": "Summary of outcomes",
        "description": "The numbers behind your climate action.",
        "elements": [
          {
            "type": "panel",
            "name": "ixo:OutcomeSummary",
            "title": "By the Numbers",
            "elements": [
              {
                "type": "text",
                "name": "schema:numberOfItems",
                "title": "Number of participants",
                "description": "How many people took part in your climate action?",
                "inputType": "number",
                "min": 0,
                "isRequired": true
              },
              {
                "type": "text",
                "name": "ixo:impactVolume_pointsMapped",
                "title": "Number of points mapped",
                "description": "How many points did your group add to the map?",
                "inputType": "number",
                "min": 0,
                "isRequired": true
              },
              {
                "type": "comment",
                "name": "ixo:impactVolume_workDone",
                "title": "Quantity of work done",
                "description": "For example: number of bags of trash collected, number of trees planted, number of encroached areas mapped, number of water points mapped. Write one on each line.",
                "rows": 4,
                "isRequired": true
              }
            ]
          }
        ]
      },
      {
        "name": "page_outcomes_story",
        "title": "Outcomes",
        "description": "Help us celebrate your group's amazing work! Your answers here may be featured on our social media and website.",
        "elements": [
          {
            "type": "panel",
            "name": "ixo:GroupStory",
            "title": "Your Story",
            "elements": [
              {
                "type": "comment",
                "name": "schema:description_bio",
                "title": "Share your bio with us",
                "description": "Your name, and your profession or what you do.",
                "rows": 4,
                "isRequired": true
              },
              {
                "type": "comment",
                "name": "ixo:motivation",
                "title": "What motivated your group to join the Youth Force Climate Fellowship",
                "rows": 5,
                "isRequired": true
              },
              {
                "type": "comment",
                "name": "ixo:impactMoment",
                "title": "What was the most surprising or impactful moment of your climate action?",
                "rows": 5,
                "isRequired": true
              },
              {
                "type": "comment",
                "name": "ixo:messageToYouth",
                "title": "What is your group's message to other young people about protecting the environment?",
                "rows": 5,
                "isRequired": true
              }
            ]
          }
        ]
      }
    ],
    "showQuestionNumbers": "on",
    "questionErrorLocation": "bottom",
    "showProgressBar": true,
    "progressBarLocation": "top",
    "pagePrevText": "Back",
    "pageNextText": "Next Section",
    "completeText": "Submit Climate Action Report",
    "requiredText": "*"
  }
}
