---
# System prepended metadata

title: Untitled

---

CLAIM FORM REVISIONS

1. Update the Claim Form for Template
    2. Replace UUID
    3. Align with JSON Forms
    4. Service Endpoints
    5. @id must be URL
    6. Correct Contexts
    7. Correct Types using the contexts
2. Update claim data model to comply with W3C Verifiable Claims
3. Add Context definitions
4. Plan to use CIDs for claim identifiers
5. Validate the JSON-LD in JSON-LD Playground
6. Should we enforce schema.org child fields when validating parent definitions?
7. Add Binary types for claims upload for better performance
8. CBOR-LD




"@context":[
"ixo":"w3id.org/ixo/protocol",
"attribute":"w3id.org/ixo/attribute"
"cid":"https://github.com/multiformats/cid#cidv1",
"template":"did:ixo:abc123",
],
"id":"did:ixo:123"

"service":[
   {
      "id":"did:ixo:123#cellnode1",
      "type": "ixo:cellnode",
      "serviceEndpoint": {
        "cellnode": "https://cellnode-pandora.ixo.earth"}
    }


cellnode":{"serviceEndpoint":""},

]

"linkedResource":[
{
"type":"ixo:claim",
"id":"did:ixo:123#08h24084nofn209r08408rodcjksdfkjsdk",
"serviceEndpoint":"cellnode"
},
{
    "type":"ixo:evidence",
    "id":"did:ixo:123#08h24084nofn209r08408rodcjksdfkjsdk/203f2f69-e358-4662-bea4-08a4ef008fea",
    "serviceEndpoint":"cellnode"
}
]


[
  {
    "_id": {"$oid": "6225f322cae4b8001af46ed1"},
    "__v": 0,
    "_created": "2022-03-07T11:57:17.137Z",
    "_creator": "did:sov:6kfCwyhNHXUZydXym7MEbz",
    "projectDid": "did:ixo:Xcum22jXBqZdmfDehi1giB",
    "txHash": "70dec48b1bdd47cb14cba987dceb1da2efcbb2ecfbfe9d1c33f0fdcb3fc19d18",
    "claimTemplateId": "did:ixo:EHKrVDLXX8zzgR9eKgAtKg",
    "@context": "https://schema.ixo.foundation/claims/53690e7d550278dbe228ddf35e0ba72b2666cba6", //Update correct context permalink https://www.w3.org/2018/credentials/v1`
    "claimSubject": {
      "id": "did:ixo:Xcum22jXBqZdmfDehi1giB"
    },
    "dateTime": "2022-03-07T11:57:17.137Z",
    "issuerId": "did:sov:6kfCwyhNHXUZydXym7MEbz",
    "evidence": [
      {
        "type": "attribute:identifier",
        "id": "template#00000001-3b7d-4bad-9bdd-2b0d7b3dcb67",
        "value": "KU15"
      },
     
     
     
     
     l.chimple.org/definitions/score",
        "id": "4",
        "value": "0.5601540366"
      },
      {
        "attribute": "https://schema.org/assesses",
        "id": "3b87137d-492d-4ef3-8146-b964cdcddb93",
        "value": "[{&quot;course&quot;: &quot;en&quot;, &quot;lesson_num&quot;: 68, &quot;score&quot;: 60, &quot;date&quot;: &quot;Fri Jan 28 2022 13:02:03 GMT+0530 (India Standard Time)&quot;}, {&quot;course&quot;: &quot;kn&quot;, &quot;lesson_num&quot;: 122, &quot;score&quot;: 70, &quot;date&quot;: &quot;Tue Jan 25 2022 15:47:04 GMT+0530 (India Standard Time)&quot;}, {&quot;course&quot;: &quot;maths&quot;, &quot;lesson_num&quot;: 293, &quot;score&quot;: 25, &quot;date&quot;: &quot;Fri Jan 21 2022 15:48:58 GMT+0530 (India Standard Time)&quot;}]"
      }
    ],
    "type": "Outcome"
  }
]





```
   "schema": {
    "title": "Selector Rate out of 10",
    "description": "This will be a short description or explainer text explaining the question. ",
    "type": "object",
    "required": ["00000001-3b7d-4bad-9bdd-2b0d7b3dcb67"],
    "properties": {
     "00000001-3b7d-4bad-9bdd-2b0d7b3dcb67": {
      "type": "number",
      "title": "Rate the below from 1 to 10 with 1 bring terrible and 10 being excellent",
      "enum": ["1", "2", "3"],
      "items": { "type": "string" },
      "uniqueItems": true
     }
     ```
     
     "forms": [
    {
      "@type": "https://w3id.org/ixo/NS/blob/main/attribute/schema.jsonld/Name",
      "schema": {
        "title": "Name or Handle",
        "description": "How you would like to be identified within the supporter community.",
        "type": "object",
        "required": [
          "f1cb4db0-1095-447d-9c57-898d0c236786"
        ],
        "properties": {
          "f1cb4db0-1095-447d-9c57-898d0c236786": {
            "type": "string",
            "label": "Name", / changed to label
           
           
           ALIGN WITH JSON FORMS https://jsonforms.io/examples/categorization
           
           >>
           
           "items": {
              "type": "string"
            },
            "uniqueItems": true
          }
        }
      },
      "uiSchema": {
        "f1cb4db0-1095-447d-9c57-898d0c236786": {
          "ui:widget": "text",
          "ui:placeholder": "Start Typing here",
          "ui:options": {}
        }
        
        
        // example claim template with more fields included 
        
        [
  "HEAD",
  {
    "claimInfo": {
      "type": "Impact",
      "title": "Test Claim NT",
      "shortDescription": "This is a test description"
    },
    "forms": [
      {
        "@type": "https://schema.org/title",
        "schema": {
          "title": "Test question short",
          "description": "This is a test description, the quick brown fox etc. ",
          "type": "object",
          "required": [
            "a40de743-524a-45bf-9d9d-c9f18b97d5da"
          ],
          "properties": {
            "a40de743-524a-45bf-9d9d-c9f18b97d5da": {
              "type": "string",
              "title": "Short Answer",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "a40de743-524a-45bf-9d9d-c9f18b97d5da": {
            "ui:widget": "text",
            "ui:placeholder": "Start Typing here",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/description",
        "schema": {
          "title": "Test question long",
          "description": "\"The quick brown fox jumps over the lazy dog\" is an English-language pangramâa sentence that contains all the letters of the alphabet. The phrase is commonly used for touch-typing practice, testing typewriters and computer keyboards, displaying examples of fonts, and other applications involving text where the use of all letters in the alphabet is desired",
          "type": "object",
          "required": [
            "fa88a098-774d-4a03-9578-73ce5a9309f3"
          ],
          "properties": {
            "fa88a098-774d-4a03-9578-73ce5a9309f3": {
              "type": "string",
              "title": "Long Answer",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "fa88a098-774d-4a03-9578-73ce5a9309f3": {
            "ui:widget": "textarea",
            "ui:placeholder": "Start Typing here",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/os",
        "schema": {
          "title": "Test question Multiple Select",
          "description": "What is your preferred operating system",
          "type": "object",
          "required": [
            "e067b915-ca11-467c-b689-6e446b64f37c"
          ],
          "properties": {
            "e067b915-ca11-467c-b689-6e446b64f37c": {
              "type": "array",
              "title": "Select Options",
              "items": {
                "type": "string",
                "enum": [
                  "Windows",
                  "Linux",
                  "OSX"
                ],
                "enumNames": [
                  "Windows",
                  "Linux",
                  "OSX"
                ]
              },
              "uniqueItems": true,
              "minItems": 1,
              "maxItems": 1
            }
          }
        },
        "uiSchema": {
          "e067b915-ca11-467c-b689-6e446b64f37c": {
            "ui:widget": "checkboxes",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/currency",
        "schema": {
          "title": "Claim Currency",
          "description": "What is your preferred currency ",
          "type": "object",
          "required": [
            "a5290c2a-a16b-48d8-bdeb-8467608f8b26"
          ],
          "properties": {
            "a5290c2a-a16b-48d8-bdeb-8467608f8b26": {
              "type": "array",
              "title": "Currency",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "a5290c2a-a16b-48d8-bdeb-8467608f8b26": {
            "ui:widget": "currency",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/rating",
        "schema": {
          "title": "Test rating",
          "description": "Please provide a rating",
          "type": "object",
          "required": [
            "1f15ff3d-e24a-4382-b37f-ca142835fa59"
          ],
          "properties": {
            "1f15ff3d-e24a-4382-b37f-ca142835fa59": {
              "type": "string",
              "title": "Rating",
              "enum": [
                "1",
                "2",
                "3",
                "4",
                "5",
                "6",
                "7",
                "8",
                "9",
                "10"
              ],
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "1f15ff3d-e24a-4382-b37f-ca142835fa59": {
            "ui:widget": "radio",
            "ui:options": {
              "inline": true
            }
          }
        }
      },
      {
        "@type": "https://schema.org/singleDate",
        "schema": {
          "title": "Test date",
          "description": "Pick a Date",
          "type": "object",
          "required": [
            "daca4441-a14c-427f-ac55-7eaa1e41ae37"
          ],
          "properties": {
            "daca4441-a14c-427f-ac55-7eaa1e41ae37": {
              "type": "string",
              "title": "Date",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "daca4441-a14c-427f-ac55-7eaa1e41ae37": {
            "ui:widget": "singledateselector",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/dateRange",
        "schema": {
          "title": "Test date range",
          "description": "Pick a date range",
          "type": "object",
          "required": [
            "f2ca603c-be8f-48fa-bf95-3008b88041ef"
          ],
          "properties": {
            "f2ca603c-be8f-48fa-bf95-3008b88041ef": {
              "type": "string",
              "title": "Dates",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "f2ca603c-be8f-48fa-bf95-3008b88041ef": {
            "ui:widget": "daterangeselector",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/qr",
        "schema": {
          "title": "Test QR",
          "description": "Scan the code below",
          "type": "object",
          "required": [
            "2bdaf405-d2d7-4ac0-a0f2-f45a4f4e5a95"
          ],
          "properties": {
            "2bdaf405-d2d7-4ac0-a0f2-f45a4f4e5a95": {
              "type": "string",
              "title": "QR Code",
              "default": "https://northroom.digital/",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "2bdaf405-d2d7-4ac0-a0f2-f45a4f4e5a95": {
            "ui:widget": "qrcode",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/scan",
        "schema": {
          "title": "Test scan",
          "description": "Scan the QR code below",
          "type": "object",
          "required": [
            "5ad168ee-beb7-47c6-b8c2-c66e998b9904"
          ],
          "properties": {
            "5ad168ee-beb7-47c6-b8c2-c66e998b9904": {
              "type": "string",
              "title": "Scan QR Code",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "5ad168ee-beb7-47c6-b8c2-c66e998b9904": {
            "ui:widget": "qrcodescan",
            "ui:placeholder": "Waiting for data...",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/location",
        "schema": {
          "title": "My location",
          "description": "See below my location",
          "type": "object",
          "required": [
            "a5c6d299-abba-42e7-9a32-046c3b163876"
          ],
          "properties": {
            "a5c6d299-abba-42e7-9a32-046c3b163876": {
              "type": "string",
              "title": "Location",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "a5c6d299-abba-42e7-9a32-046c3b163876": {
            "ui:widget": "locationselector",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/image",
        "schema": {
          "title": "Upload media",
          "description": "Upload your image",
          "type": "object",
          "required": [
            "2bef6d80-da5e-4339-9932-28390475f7ed"
          ],
          "properties": {
            "2bef6d80-da5e-4339-9932-28390475f7ed": {
              "type": "string",
              "title": "Select Image to Upload",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "2bef6d80-da5e-4339-9932-28390475f7ed": {
            "ui:widget": "imageupload",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/avatar",
        "schema": {
          "title": "Test Avatar",
          "description": "This will be your claim icon",
          "type": "object",
          "required": [
            "8fa0e6aa-65a1-4976-b703-a275c0a49212"
          ],
          "properties": {
            "8fa0e6aa-65a1-4976-b703-a275c0a49212": {
              "type": "string",
              "title": "Select Avatar Image to Upload",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "8fa0e6aa-65a1-4976-b703-a275c0a49212": {
            "ui:widget": "avatarupload",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/document",
        "schema": {
          "title": "Upload test document",
          "description": "Please upload a document",
          "type": "object",
          "required": [
            "9cb9fc42-442f-456c-b275-b6d5ec9d2b34"
          ],
          "properties": {
            "9cb9fc42-442f-456c-b275-b6d5ec9d2b34": {
              "type": "string",
              "title": "Select Document to Upload",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "9cb9fc42-442f-456c-b275-b6d5ec9d2b34": {
            "ui:widget": "documentupload",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/video",
        "schema": {
          "title": "Upload video",
          "description": "Upload a video here",
          "type": "object",
          "required": [
            "cb141e62-fa14-4682-b1c1-1b245a8bdf72"
          ],
          "properties": {
            "cb141e62-fa14-4682-b1c1-1b245a8bdf72": {
              "type": "string",
              "title": "Select Video to Upload",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "cb141e62-fa14-4682-b1c1-1b245a8bdf72": {
            "ui:widget": "videoupload",
            "ui:options": {}
          }
        }
      },
      {
        "@type": "https://schema.org/recording",
        "schema": {
          "title": "Test audio",
          "description": "Record or upload a note",
          "type": "object",
          "required": [
            "7d2adacd-f719-4afe-a77d-1d22695d96e3"
          ],
          "properties": {
            "7d2adacd-f719-4afe-a77d-1d22695d96e3": {
              "type": "string",
              "title": "Select Audio Clip to Upload",
              "items": {
                "type": "string"
              },
              "uniqueItems": true
            }
          }
        },
        "uiSchema": {
          "7d2adacd-f719-4afe-a77d-1d22695d96e3": {
            "ui:widget": "audioupload",
            "ui:options": {}
          }
        }
      }
    ]
  }
]