Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
poef committed Jun 19, 2019
2 parents e68bfe9 + 1ebf9a0 commit c8e0da6
Show file tree
Hide file tree
Showing 2 changed files with 284 additions and 9 deletions.
227 changes: 218 additions & 9 deletions context.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,20 @@
}
}
]
},
"eindterm_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_eindterm"
}
}
]
}

}
},
"examenprogramma_vakleergebied": {
Expand All @@ -73,24 +86,213 @@
{ "$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray" },
{ "items": { "itemTypeReference": "#/definitions/examenprogramma_domein" } }
]
},
"examenprogramma_vakleergebied_id" : {
"allOf": [
{ "$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray" },
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_vakleergebied"
}
}
]
}
}
},
"examenprogramma_kop1": {
"allOf": [ { "$ref":"https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/base" } ],
"properties": {
"examenprogramma_kop2_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_kop2"
}
}
]
},
"examenprogramma_body_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_body"
}
}
]
},
"tag_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/tag"
}
}
]
}
}
},
"examenprogramma_vakleergebied_id" : {
"allOf": [
{ "$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray" },
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_vakleergebied"
}
"examenprogramma_kop2": {
"allOf": [ { "$ref":"https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/base" } ],
"properties": {
"examenprogramma_kop3_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_kop3"
}
}
]
},
"examenprogramma_body_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_body"
}
}
]
},
"tag_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/tag"
}
}
]
}
]
}
},
"examenprogramma_kop3": {
"allOf": [ { "$ref":"https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/base" } ],
"properties": {
"examenprogramma_kop4_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_kop4"
}
}
]
},
"examenprogramma_body_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_body"
}
}
]
},
"tag_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/tag"
}
}
]
}
}
},
"examenprogramma_kop4": {
"allOf": [ { "$ref":"https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/base" } ],
"properties": {
"examenprogramma_body_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/examenprogramma_body"
}
}
]
},
"tag_id": {
"allOf": [
{
"$ref": "https://opendata.slo.nl/curriculum/schemas/curriculum-doelen/context.json#/definitions/uuidArray"
},
{
"items": {
"itemTypeReference": "#/definitions/tag"
}
}
]
}
}
}
},
"$id": "https://opendata.slo.nl/curriculum/schemas/curriculum-examenprogramma/context.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"examenprogramma_body": {
"#file": "data/body.json",
"type" : "array",
"items": {
"$ref": "#/definitions/examenprogramma_body"
}
},
"examenprogramma_kop4": {
"#file": "data/kop4.json",
"type" : "array",
"items": {
"$ref": "#/definitions/examenprogramma_kop4"
}
},
"examenprogramma_kop3": {
"#file": "data/kop3.json",
"type" : "array",
"items": {
"$ref": "#/definitions/examenprogramma_kop3"
}
},

"examenprogramma_kop2": {
"#file": "data/kop2.json",
"type" : "array",
"items": {
"$ref": "#/definitions/examenprogramma_kop2"
}
},
"examenprogramma_kop1": {
"#file": "data/kop1.json",
"type" : "array",
"items": {
"$ref": "#/definitions/examenprogramma_kop1"
}
},

"examenprogramma_eindterm": {
"#file": "data/eindtermen.json",
"type" : "array",
Expand Down Expand Up @@ -119,7 +321,14 @@
"$ref": "#/definitions/examenprogramma_vakleergebied"
}
},
"deprecated": {
"examenprogramma": {
"#file": "data/examenprogramma.json",
"type" : "array",
"items": {
"$ref": "#/definitions/examenprogramma"
}
},
"examenprogramma_deprecated": {
"#file": "data/deprecated.json",
"type" : "array"
}
Expand Down
66 changes: 66 additions & 0 deletions schema.jsonld
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"@context": {
"examenprogramma": "http://opendata.slo.nl/curriculum/schemas/examenprogramma.jsonld",
"id": {
"@id": "@id"
},
"title": {
"@id": "http://purl.org/dc/terms/title",
"@type": "@id"
},
"examenprogramma_vakleergebied_id": {
"@container": "@set"
},
"examenprogramma_domein_id": {
"@container": "@set"
},
"examenprogramma_subdomein_id": {
"@container": "@set"
},
"examenprogramma_kop1_id": {
"@container": "@set"
},
"examenprogramma_kop2_id": {
"@container": "@set"
},
"examenprogramma_kop3_id": {
"@container": "@set"
},
"examenprogramma_kop4_id": {
"@container": "@set"
},
"examenprogramma_body_id": {
"@container": "@set"
},
"examenprogramma_eindterm_id": {
"@container": "@set"
},
"examenprogramma_vakleergebied": {
"@id": "examenprogramma:#examenprogramma_vakleergebied"
},
"examenprogramma_domein": {
"@id": "examenprogramma:#examenprogramma_domein"
},
"examenprogramma_subdomein": {
"@id": "examenprogramma:#examenprogramma_subdomein"
},
"examenprogramma_kop1": {
"@id": "examenprogramma:#examenprogramma_kop1"
},
"examenprogramma_kop2": {
"@id": "examenprogramma:#examenprogramma_kop2"
},
"examenprogramma_kop3": {
"@id": "examenprogramma:#examenprogramma_kop3"
},
"examenprogramma_kop4": {
"@id": "examenprogramma:#examenprogramma_kop4"
},
"examenprogramma_body": {
"@id": "examenprogramma:#examenprogramma_body"
},
"examenprogramma_eindterm": {
"@id": "examenprogramma:#examenprogramma_eindterm"
},
}
}

0 comments on commit c8e0da6

Please sign in to comment.