mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-14 10:44:28 +00:00
161 lines
No EOL
5.4 KiB
JSON
161 lines
No EOL
5.4 KiB
JSON
{
|
|
"$defs": {
|
|
"NamedThing": {
|
|
"additionalProperties": false,
|
|
"description": "A generic grouping for any identifiable entity",
|
|
"properties": {
|
|
"description": {
|
|
"description": "A human-readable description for a thing",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "A unique identifier for a thing",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "A human-readable name for a thing",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id"
|
|
],
|
|
"title": "NamedThing",
|
|
"type": "object"
|
|
},
|
|
"Namespaces": {
|
|
"additionalProperties": false,
|
|
"description": "Represents a Namespaces",
|
|
"properties": {
|
|
"age_in_years": {
|
|
"description": "Number of years since birth",
|
|
"type": "integer"
|
|
},
|
|
"birth_date": {
|
|
"description": "Date on which a person is born",
|
|
"format": "date",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "A human-readable description for a thing",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "A unique identifier for a thing",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "A human-readable name for a thing",
|
|
"type": "string"
|
|
},
|
|
"primary_email": {
|
|
"description": "The main email address of a person",
|
|
"pattern": "^\\S+@[\\S+\\.]+\\S+",
|
|
"type": "string"
|
|
},
|
|
"vital_status": {
|
|
"$ref": "#/$defs/PersonStatus",
|
|
"description": "living or dead status"
|
|
}
|
|
},
|
|
"required": [
|
|
"id"
|
|
],
|
|
"title": "Namespaces",
|
|
"type": "object"
|
|
},
|
|
"NamespacesCollection": {
|
|
"additionalProperties": false,
|
|
"description": "A holder for Namespaces objects",
|
|
"properties": {
|
|
"entries": {
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/$defs/Namespaces__identifier_optional"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"title": "NamespacesCollection",
|
|
"type": "object"
|
|
},
|
|
"Namespaces__identifier_optional": {
|
|
"additionalProperties": false,
|
|
"description": "Represents a Namespaces",
|
|
"properties": {
|
|
"age_in_years": {
|
|
"description": "Number of years since birth",
|
|
"type": "integer"
|
|
},
|
|
"birth_date": {
|
|
"description": "Date on which a person is born",
|
|
"format": "date",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "A human-readable description for a thing",
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"description": "A unique identifier for a thing",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "A human-readable name for a thing",
|
|
"type": "string"
|
|
},
|
|
"primary_email": {
|
|
"description": "The main email address of a person",
|
|
"pattern": "^\\S+@[\\S+\\.]+\\S+",
|
|
"type": "string"
|
|
},
|
|
"vital_status": {
|
|
"$ref": "#/$defs/PersonStatus",
|
|
"description": "living or dead status"
|
|
}
|
|
},
|
|
"required": [],
|
|
"title": "Namespaces",
|
|
"type": "object"
|
|
},
|
|
"PersonStatus": {
|
|
"description": "",
|
|
"enum": [
|
|
"ALIVE",
|
|
"DEAD",
|
|
"UNKNOWN"
|
|
],
|
|
"title": "PersonStatus",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"$id": "https://w3id.org/p2p_ld/nwb-schema-language",
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"additionalProperties": true,
|
|
"description": "A holder for Namespaces objects",
|
|
"metamodel_version": "1.7.0",
|
|
"properties": {
|
|
"entries": {
|
|
"additionalProperties": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/$defs/Namespaces__identifier_optional"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"title": "nwb-schema-language",
|
|
"type": "object",
|
|
"version": null
|
|
} |