Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions fields/context.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "JSON Schema for @context using schema.org as base",
"description": "schema.org is @base namespace",
"type": "object",
"additionalProperties": true,
"required": [
"@vocab"
],
"properties": {
"@vocab": {
"type": "string",
"format": "regex",
"pattern": "https://schema.org/",
"description": "required: schema.org is base ns"
}
}
}
14 changes: 13 additions & 1 deletion schemas/karte_von_morgen-v1.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
"description": "Entries (Initiatives, Organisations, Companies) from Kartevonmorgen.org",
"type": "object",
"properties": {
"@context": {
"$ref": "../fields/context.json"
},
"@type": {
"name": "The resource type",
"type": "string",
"description": "required: Organization",
"format": "regex",
"pattern": "Organization"
},
"linked_schemas": {
"$ref": "../fields/linked_schemas.json"
},
Expand Down Expand Up @@ -64,6 +74,8 @@
"schema": {
"name": "karte_von_morgen-v1.0.0",
"purpose": "Entries (Initiatives, Organisations, Companies) from Kartevonmorgen.org"
}
},
"@type": "Organization",
"@context": "https://ns.murmurations.network/contexts/karte_von_morgen-v1.0.0.jsonld"
}
}