JSON-schema Mål
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://schemas.infopack.io/100gruppen/rexs.goal.1.schema.json",
"title": "Goal",
"description": "A schema for representing goals, their relationships including related requirements, and metadata.",
"type": "object",
"required": ["metadata", "definition"],
"properties": {
"metadata": {
"description": "Metadata related to the goal.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.metadata.1.schema.json"
},
"impactLevel": {
"description": "Categorisation of the level at which the goal is effective when achieved.",
"type": "string",
"minLength": 1
},
"definition": {
"description": "A textual definition of the goal.",
"type": "string",
"minLength": 1
},
"resultsIndicators": {
"description": "An list of indicators representing the results of the goal.",
"$ref": "http://schemas.infopack.io/100gruppen/rexs.results-indicators.1.schema.json"
},
"partOfGoals": {
"description": "A list of goal references that this goal is a part of. Can be used to define a hierarchy of goals.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
},
"subGoals": {
"description": "A list of sub-goal references that are part of this goal. Can be used to define a hierarchy of goals.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
},
"contributesToGoals": {
"description": "A list of goal references that this goal contributes to. Can be used to define dependencies between goals.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
},
"contributionFromGoals": {
"description": "A list of goal references that contributes to this goal. Can be used to define dependencies between goals.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
},
"contributionFromRequirements": {
"description": "A list of requirement references that contribute to this goal.",
"type": "array",
"items": {
"$ref": "http://schemas.infopack.io/100gruppen/rexs.reference-designation.1.schema.json#/properties/identifier"
}
}
},
"additionalProperties": false
}