diff --git a/schemas/historical_entity_schema-v0.1.0.json b/schemas/historical_entity_schema-v0.1.0.json new file mode 100644 index 0000000..462cedd --- /dev/null +++ b/schemas/historical_entity_schema-v0.1.0.json @@ -0,0 +1,66 @@ +{ + "$schema": "https://json-schema.org/draft-07/schema#", + + "$id": "https://test-library.murmurations.network/v2/schemas/historical_entity_schema-v0.1.0", + + "title": "Historical Entity Schema", + + "description": "A schema for describing historical entities and their relationships.", + + "type": "object", + + "properties": { + + "linked_schemas": { + "$ref": "../fields/linked_schemas.json" + }, + + "name": { + "$ref": "../fields/name.json" + }, + + "primary_url": { + "$ref": "../fields/primary_url.json" + }, + + "description": { + "$ref": "../fields/description.json" + }, + + "entity_type": { + "title": "Historical Entity Type", + "description": "The type of historical entity.", + "type": "string", + "enum": [ + "war", + "person", + "battle", + "state" + ] + }, + + "relationships": { + "$ref": "../fields/relationships.json" + } + }, + + "required": [ + "linked_schemas", + "name", + "primary_url" + ], + + "metadata": { + + "creator": { + "name": "jmwshye", + "url": "https://github.com/jmwshye" + }, + + + "schema": { + "name": "historical_entity_schema-v0.1.0", + "purpose": "Describe historical events, people, battles, states and their semantic relationships." + } + } +}