{
  "@context": {
    "ixo": "https://w3id.org/ixo/ns/protocol/",
    "@id": "@type",
    "type": "@type",
    "@protected": true
  },
  "type": "ixo:entity#surveyTemplate",
  "question": {
    "title": "Output 1: DID setup and Portal access",
    "description": "Show us you have set up your DID and are ready to start the course. This takes about 5 minutes.",
    "logoPosition": "right",
    "pages": [
      {
        "name": "intro",
        "elements": [
          {
            "type": "html",
            "name": "intro_text",
            "html": "<h4>Welcome to your first course output</h4><p>This form collects evidence that you have set up your digital identity. You will need:</p><ul><li>- your DID (the identifier you created in Portal)</li><li>- two screenshots: one of your Portal profile, one of your participation in Module A chatroom.\n</li></ul><p><strong>Important:</strong> We will <strong>never</strong> ask you to type or upload your 12 recovery words. </p>"
          }
        ]
      },
      {
        "name": "identity_evidence",
        "elements": [
          {
            "type": "panel",
            "name": "schema:Person",
            "elements": [
              {
                "type": "text",
                "name": "ixo:agentDid",
                "title": "Copy and paste your DID here.",
                "description": "For example: did:ixo:entity:abc123def456...",
                "isRequired": true,
                "requiredErrorText": "Please paste your DID so we can link your work to your identity."
              }
            ],
            "title": "Your DID",
            "description": "A DID is the decentralised identifier you created in Portal. It starts with 'did:ixo:' and looks like a long string of letters and numbers."
          },
          {
            "type": "panel",
            "name": "ixo:RecoverySafety",
            "elements": [
              {
                "type": "radiogroup",
                "name": "ixo:recoveryPhraseStored",
                "title": "Have you written your 12 recovery words on paper and stored them offline?",
                "isRequired": true,
                "requiredErrorText": "Please tell us whether your recovery words are stored safely.",
                "choices": [
                  {
                    "value": "yes",
                    "text": "Yes, they are written down and stored safely offline."
                  },
                  {
                    "value": "no",
                    "text": "No, not yet."
                  }
                ]
              },
              {
                "type": "radiogroup",
                "name": "ixo:recoveryPhraseUnderstanding",
                "title": "What should you NEVER do with your 12 recovery words?",
                "description": "Pick the one answer that is correct. This is a quick check to make sure you know how to keep your identity safe.",
                "correctAnswer": "type_online",
                "isRequired": true,
                "requiredErrorText": "Please pick one answer.",
                "choices": [
                  {
                    "value": "type_online",
                    "text": "Type them into a website, form, or app."
                  },
                  {
                    "value": "write_paper",
                    "text": "Write them on paper and keep them in a safe place."
                  },
                  {
                    "value": "memorise",
                    "text": "Try to remember them."
                  },
                  {
                    "value": "backup_paper",
                    "text": "Make a second paper copy and store it in another place."
                  }
                ]
              }
            ],
            "title": "Keeping your recovery words safe",
            "description": "Your 12 recovery words are the master key to your identity. We need to know you have stored them safely."
          }
        ],
        "title": "Your digital identity",
        "description": "Please share your profile DID below and confirm that you have safely stored your 12 recovery words. Important: Do not share these 12 words with anyone, including the internal team"
      },
      {
        "name": "screenshots",
        "elements": [
          {
            "type": "file",
            "name": "ixo:evidencePortalLogin",
            "title": "Upload a screenshot of your profile logged into Portal.",
            "isRequired": true,
            "requiredErrorText": "Please upload a screenshot of your profile logged into Portal.",
            "acceptedTypes": "image/*",
            "sourceType": "file-camera"
          },
          {
            "type": "file",
            "name": "ixo:evidencePodWorkspace",
            "title": "Upload a screenshot of your Module A chatroom engagement. ",
            "description": "This should be a screenshot showing that you helped a peer or responded constructively in the Module A chatroom.",
            "isRequired": true,
            "requiredErrorText": "Please upload a screenshot of your Pod workspace.",
            "acceptedTypes": "image/*",
            "sourceType": "file-camera"
          }
        ],
        "title": "Your screenshots",
        "description": "Upload two screenshots as evidence. Keep each file small - use JPG format or compress large PNGs. "
      },
      {
        "name": "problem_statement",
        "elements": [
          {
            "type": "comment",
            "name": "schema:description",
            "title": "Write one short sentence about a real problem you want to work on later in this course.",
            "description": "One or two sentences is fine. For example: 'I want to help small farmers in my area get fair prices for their crops.'",
            "isRequired": true,
            "requiredErrorText": "Please write one sentence about a problem you care about.",
            "maxLength": 300,
            "rows": 3
          }
        ],
        "title": "A problem you want to work on"
      }
    ],
    "showQuestionNumbers": "on",
    "questionErrorLocation": "bottom",
    "showProgressBar": true,
    "startSurveyText": "Start",
    "pagePrevText": "Back",
    "pageNextText": "Next",
    "completeText": "Submit",
    "firstPageIsStartPage": true,
    "headerView": "advanced"
  }
}