mirror of
https://github.com/p2p-ld/linkml-activitypub.git
synced 2025-01-09 21:14:28 +00:00
824 lines
25 KiB
Text
824 lines
25 KiB
Text
{
|
|
"name": "my_datamodel",
|
|
"description": "Enter a detailed description of your project here",
|
|
"title": "My Datamodel",
|
|
"see_also": [
|
|
"https://example.org/"
|
|
],
|
|
"id": "https://w3id.org/my_org/my_datamodel",
|
|
"imports": [
|
|
"linkml:types"
|
|
],
|
|
"license": "https://creativecommons.org/publicdomain/zero/1.0/",
|
|
"prefixes": [
|
|
{
|
|
"prefix_prefix": "my_datamodel",
|
|
"prefix_reference": "https://w3id.org/my_org/my_datamodel"
|
|
},
|
|
{
|
|
"prefix_prefix": "linkml",
|
|
"prefix_reference": "https://w3id.org/linkml/"
|
|
},
|
|
{
|
|
"prefix_prefix": "biolink",
|
|
"prefix_reference": "https://w3id.org/biolink/"
|
|
},
|
|
{
|
|
"prefix_prefix": "schema",
|
|
"prefix_reference": "http://schema.org/"
|
|
},
|
|
{
|
|
"prefix_prefix": "PATO",
|
|
"prefix_reference": "http://purl.obolibrary.org/obo/PATO_"
|
|
},
|
|
{
|
|
"prefix_prefix": "famrel",
|
|
"prefix_reference": "http://example.org/famrel/"
|
|
}
|
|
],
|
|
"default_curi_maps": [
|
|
"semweb_context"
|
|
],
|
|
"default_prefix": "my_datamodel",
|
|
"default_range": "string",
|
|
"types": [
|
|
{
|
|
"name": "string",
|
|
"definition_uri": "https://w3id.org/linkml/String",
|
|
"description": "A character string",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "str",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#string",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "integer",
|
|
"definition_uri": "https://w3id.org/linkml/Integer",
|
|
"description": "An integer",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "int",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#integer",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "boolean",
|
|
"definition_uri": "https://w3id.org/linkml/Boolean",
|
|
"description": "A binary (true or false) value",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "Bool",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#boolean",
|
|
"repr": "bool",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "float",
|
|
"definition_uri": "https://w3id.org/linkml/Float",
|
|
"description": "A real number that conforms to the xsd:float specification",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "float",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#float",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "double",
|
|
"definition_uri": "https://w3id.org/linkml/Double",
|
|
"description": "A real number that conforms to the xsd:double specification",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "float",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#double",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "decimal",
|
|
"definition_uri": "https://w3id.org/linkml/Decimal",
|
|
"description": "A real number with arbitrary precision that conforms to the xsd:decimal specification",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "Decimal",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#decimal",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "time",
|
|
"definition_uri": "https://w3id.org/linkml/Time",
|
|
"description": "A time object represents a (local) time of day, independent of any particular day",
|
|
"notes": [
|
|
"URI is dateTime because OWL reasoners do not work with straight date or time"
|
|
],
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "XSDTime",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#dateTime",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "date",
|
|
"definition_uri": "https://w3id.org/linkml/Date",
|
|
"description": "a date (year, month and day) in an idealized calendar",
|
|
"notes": [
|
|
"URI is dateTime because OWL reasoners don't work with straight date or time"
|
|
],
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "XSDDate",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#date",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "datetime",
|
|
"definition_uri": "https://w3id.org/linkml/Datetime",
|
|
"description": "The combination of a date and time",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "XSDDateTime",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#dateTime",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "date_or_datetime",
|
|
"definition_uri": "https://w3id.org/linkml/DateOrDatetime",
|
|
"description": "Either a date or a datetime",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "str",
|
|
"uri": "https://w3id.org/linkml/DateOrDatetime",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "uriorcurie",
|
|
"definition_uri": "https://w3id.org/linkml/Uriorcurie",
|
|
"description": "a URI or a CURIE",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "URIorCURIE",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#anyURI",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "uri",
|
|
"definition_uri": "https://w3id.org/linkml/Uri",
|
|
"description": "a complete URI",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "URI",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#anyURI",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "ncname",
|
|
"definition_uri": "https://w3id.org/linkml/Ncname",
|
|
"description": "Prefix part of CURIE",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "NCName",
|
|
"uri": "http://www.w3.org/2001/XMLSchema#string",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "objectidentifier",
|
|
"definition_uri": "https://w3id.org/linkml/Objectidentifier",
|
|
"description": "A URI or CURIE that represents an object in the model.",
|
|
"comments": [
|
|
"Used for inheritance and type checking"
|
|
],
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "ElementIdentifier",
|
|
"uri": "http://www.w3.org/ns/shex#iri",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
},
|
|
{
|
|
"name": "nodeidentifier",
|
|
"definition_uri": "https://w3id.org/linkml/Nodeidentifier",
|
|
"description": "A URI, CURIE or BNODE that represents a node in a model.",
|
|
"from_schema": "https://w3id.org/linkml/types",
|
|
"imported_from": "linkml:types",
|
|
"base": "NodeIdentifier",
|
|
"uri": "http://www.w3.org/ns/shex#nonLiteral",
|
|
"repr": "str",
|
|
"@type": "TypeDefinition"
|
|
}
|
|
],
|
|
"enums": [
|
|
{
|
|
"name": "PersonStatus",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelPersonStatus",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"permissible_values": [
|
|
{
|
|
"text": "ALIVE",
|
|
"description": "the person is living",
|
|
"meaning": "PATO:0001421"
|
|
},
|
|
{
|
|
"text": "DEAD",
|
|
"description": "the person is deceased",
|
|
"meaning": "PATO:0001422"
|
|
},
|
|
{
|
|
"text": "UNKNOWN",
|
|
"description": "the vital status is not known",
|
|
"todos": [
|
|
"map this to an ontology"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "FamilialRelationshipType",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelFamilialRelationshipType",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"permissible_values": [
|
|
{
|
|
"text": "SIBLING_OF",
|
|
"meaning": "famrel:01"
|
|
},
|
|
{
|
|
"text": "PARENT_OF",
|
|
"meaning": "famrel:02"
|
|
},
|
|
{
|
|
"text": "CHILD_OF",
|
|
"meaning": "famrel:01"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"slots": [
|
|
{
|
|
"name": "id",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelid",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/identifier"
|
|
],
|
|
"slot_uri": "http://schema.org/identifier",
|
|
"identifier": true,
|
|
"owner": "NamedThing",
|
|
"domain_of": [
|
|
"NamedThing"
|
|
],
|
|
"range": "string",
|
|
"required": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "name",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelname",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/name"
|
|
],
|
|
"slot_uri": "http://schema.org/name",
|
|
"owner": "NamedThing",
|
|
"domain_of": [
|
|
"NamedThing"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "description",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodeldescription",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/description"
|
|
],
|
|
"slot_uri": "http://schema.org/description",
|
|
"owner": "NamedThing",
|
|
"domain_of": [
|
|
"NamedThing"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "image",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelimage",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/image"
|
|
],
|
|
"slot_uri": "http://schema.org/image",
|
|
"owner": "NamedThing",
|
|
"domain_of": [
|
|
"NamedThing"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "primary_email",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelprimary_email",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/email"
|
|
],
|
|
"slot_uri": "http://schema.org/email",
|
|
"owner": "Person",
|
|
"domain_of": [
|
|
"Person"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "birth_date",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelbirth_date",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/birthDate"
|
|
],
|
|
"slot_uri": "http://schema.org/birthDate",
|
|
"owner": "Person",
|
|
"domain_of": [
|
|
"Person"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "employed_at",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelemployed_at",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelemployed_at",
|
|
"range": "Organization",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "is_current",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelis_current",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelis_current",
|
|
"range": "boolean",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "has_familial_relationships",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelhas_familial_relationships",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelhas_familial_relationships",
|
|
"multivalued": true,
|
|
"owner": "Person",
|
|
"domain_of": [
|
|
"Person"
|
|
],
|
|
"range": "FamilialRelationship",
|
|
"inlined": true,
|
|
"inlined_as_list": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "current_address",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelcurrent_address",
|
|
"description": "The address at which a person currently lives",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelcurrent_address",
|
|
"owner": "Person",
|
|
"domain_of": [
|
|
"Person"
|
|
],
|
|
"range": "Address",
|
|
"inlined": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "age_in_years",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelage_in_years",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelage_in_years",
|
|
"owner": "Person",
|
|
"domain_of": [
|
|
"Person"
|
|
],
|
|
"range": "integer",
|
|
"minimum_value": 0,
|
|
"maximum_value": 999,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "related_to",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelrelated_to",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelrelated_to",
|
|
"owner": "Relationship",
|
|
"domain_of": [
|
|
"Relationship"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "type",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodeltype",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodeltype",
|
|
"owner": "Relationship",
|
|
"domain_of": [
|
|
"Relationship"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "street",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelstreet",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelstreet",
|
|
"owner": "Address",
|
|
"domain_of": [
|
|
"Address"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "city",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelcity",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelcity",
|
|
"owner": "Address",
|
|
"domain_of": [
|
|
"Address"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "mission_statement",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelmission_statement",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelmission_statement",
|
|
"owner": "Organization",
|
|
"domain_of": [
|
|
"Organization"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "founding_date",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelfounding_date",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelfounding_date",
|
|
"owner": "Organization",
|
|
"domain_of": [
|
|
"Organization"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "postal_code",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelpostal_code",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelpostal_code",
|
|
"owner": "Address",
|
|
"domain_of": [
|
|
"Address"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "started_at_time",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelstarted_at_time",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://www.w3.org/ns/prov#startedAtTime"
|
|
],
|
|
"slot_uri": "http://www.w3.org/ns/prov#startedAtTime",
|
|
"owner": "Relationship",
|
|
"domain_of": [
|
|
"Relationship"
|
|
],
|
|
"range": "date",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "ended_at_time",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelended_at_time",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://www.w3.org/ns/prov#endedAtTime"
|
|
],
|
|
"slot_uri": "http://www.w3.org/ns/prov#endedAtTime",
|
|
"owner": "Relationship",
|
|
"domain_of": [
|
|
"Relationship"
|
|
],
|
|
"range": "date",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "registry__persons",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelpersons",
|
|
"multivalued": true,
|
|
"alias": "persons",
|
|
"owner": "Registry",
|
|
"domain_of": [
|
|
"Registry"
|
|
],
|
|
"range": "Person",
|
|
"inlined": true,
|
|
"inlined_as_list": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "registry__organizations",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelorganizations",
|
|
"multivalued": true,
|
|
"alias": "organizations",
|
|
"owner": "Registry",
|
|
"domain_of": [
|
|
"Registry"
|
|
],
|
|
"range": "Organization",
|
|
"inlined": true,
|
|
"inlined_as_list": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "hasAliases__aliases",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"exact_mappings": [
|
|
"http://schema.org/alternateName"
|
|
],
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelaliases",
|
|
"multivalued": true,
|
|
"alias": "aliases",
|
|
"owner": "HasAliases",
|
|
"domain_of": [
|
|
"HasAliases"
|
|
],
|
|
"range": "string",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "related_to",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelrelated_to",
|
|
"range": "Person",
|
|
"required": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "Person_primary_email",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelprimary_email",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"http://schema.org/email"
|
|
],
|
|
"is_a": "primary_email",
|
|
"domain": "Person",
|
|
"slot_uri": "http://schema.org/email",
|
|
"alias": "primary_email",
|
|
"owner": "Person",
|
|
"domain_of": [
|
|
"Person"
|
|
],
|
|
"is_usage_slot": true,
|
|
"usage_slot_name": "primary_email",
|
|
"range": "string",
|
|
"pattern": "^\\S+@[\\S+\\.]+\\S+",
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "FamilialRelationship_type",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodeltype",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"is_a": "type",
|
|
"domain": "FamilialRelationship",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodeltype",
|
|
"alias": "type",
|
|
"owner": "FamilialRelationship",
|
|
"domain_of": [
|
|
"FamilialRelationship"
|
|
],
|
|
"is_usage_slot": true,
|
|
"usage_slot_name": "type",
|
|
"range": "FamilialRelationshipType",
|
|
"required": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "FamilialRelationship_related_to",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"is_a": "related_to",
|
|
"domain": "FamilialRelationship",
|
|
"slot_uri": "https://w3id.org/my_org/my_datamodelrelated_to",
|
|
"alias": "related to",
|
|
"owner": "FamilialRelationship",
|
|
"domain_of": [
|
|
"FamilialRelationship"
|
|
],
|
|
"is_usage_slot": true,
|
|
"usage_slot_name": "related to",
|
|
"range": "Person",
|
|
"required": true,
|
|
"@type": "SlotDefinition"
|
|
}
|
|
],
|
|
"classes": [
|
|
{
|
|
"name": "Registry",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelRegistry",
|
|
"description": "Top level data container",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slots": [
|
|
"registry__persons",
|
|
"registry__organizations"
|
|
],
|
|
"slot_usage": {},
|
|
"attributes": [
|
|
{
|
|
"name": "persons",
|
|
"multivalued": true,
|
|
"range": "Person",
|
|
"inlined": true,
|
|
"inlined_as_list": true,
|
|
"@type": "SlotDefinition"
|
|
},
|
|
{
|
|
"name": "organizations",
|
|
"multivalued": true,
|
|
"range": "Organization",
|
|
"inlined": true,
|
|
"inlined_as_list": true,
|
|
"@type": "SlotDefinition"
|
|
}
|
|
],
|
|
"class_uri": "https://w3id.org/my_org/my_datamodelRegistry",
|
|
"tree_root": true,
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "NamedThing",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelNamedThing",
|
|
"description": "A generic grouping for any identifiable entity",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"close_mappings": [
|
|
"schema:Thing"
|
|
],
|
|
"slots": [
|
|
"id",
|
|
"name",
|
|
"description",
|
|
"image"
|
|
],
|
|
"slot_usage": {},
|
|
"class_uri": "https://w3id.org/my_org/my_datamodelNamedThing",
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "Person",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelPerson",
|
|
"description": "A person (alive, dead, undead, or fictional).",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"schema:Person"
|
|
],
|
|
"is_a": "NamedThing",
|
|
"mixins": [
|
|
"HasAliases"
|
|
],
|
|
"slots": [
|
|
"id",
|
|
"name",
|
|
"description",
|
|
"image",
|
|
"Person_primary_email",
|
|
"birth_date",
|
|
"age_in_years",
|
|
"current_address",
|
|
"has_familial_relationships",
|
|
"hasAliases__aliases"
|
|
],
|
|
"slot_usage": {},
|
|
"class_uri": "http://schema.org/Person",
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "HasAliases",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelHasAliases",
|
|
"description": "A mixin applied to any class that can have aliases/alternateNames",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mixin": true,
|
|
"slots": [
|
|
"hasAliases__aliases"
|
|
],
|
|
"slot_usage": {},
|
|
"attributes": [
|
|
{
|
|
"name": "aliases",
|
|
"exact_mappings": [
|
|
"schema:alternateName"
|
|
],
|
|
"multivalued": true,
|
|
"@type": "SlotDefinition"
|
|
}
|
|
],
|
|
"class_uri": "https://w3id.org/my_org/my_datamodelHasAliases",
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "Organization",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelOrganization",
|
|
"description": "An organization such as a company or university",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"schema:Organization"
|
|
],
|
|
"is_a": "NamedThing",
|
|
"mixins": [
|
|
"HasAliases"
|
|
],
|
|
"slots": [
|
|
"id",
|
|
"name",
|
|
"description",
|
|
"image",
|
|
"mission_statement",
|
|
"founding_date",
|
|
"hasAliases__aliases"
|
|
],
|
|
"slot_usage": {},
|
|
"class_uri": "http://schema.org/Organization",
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "Address",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelAddress",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"mappings": [
|
|
"schema:PostalAddress"
|
|
],
|
|
"slots": [
|
|
"street",
|
|
"city",
|
|
"postal_code"
|
|
],
|
|
"slot_usage": {},
|
|
"class_uri": "http://schema.org/PostalAddress",
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "Relationship",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelRelationship",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"slots": [
|
|
"started_at_time",
|
|
"ended_at_time",
|
|
"related_to",
|
|
"type"
|
|
],
|
|
"slot_usage": {},
|
|
"class_uri": "https://w3id.org/my_org/my_datamodelRelationship",
|
|
"@type": "ClassDefinition"
|
|
},
|
|
{
|
|
"name": "FamilialRelationship",
|
|
"definition_uri": "https://w3id.org/my_org/my_datamodelFamilialRelationship",
|
|
"from_schema": "https://w3id.org/my_org/my_datamodel",
|
|
"is_a": "Relationship",
|
|
"slots": [
|
|
"started_at_time",
|
|
"ended_at_time",
|
|
"related_to",
|
|
"FamilialRelationship_type",
|
|
"FamilialRelationship_related_to"
|
|
],
|
|
"slot_usage": {},
|
|
"class_uri": "https://w3id.org/my_org/my_datamodelFamilialRelationship",
|
|
"@type": "ClassDefinition"
|
|
}
|
|
],
|
|
"metamodel_version": "1.7.0",
|
|
"source_file": "activitystreams.yaml",
|
|
"source_file_date": "2022-09-06T10:00:58",
|
|
"source_file_size": 3771,
|
|
"generation_date": "2022-09-06T10:01:45",
|
|
"@type": "SchemaDefinition",
|
|
"@context": [
|
|
"project/jsonld/activitystreams.context.jsonld",
|
|
"https://w3id.org/linkml/types.context.jsonld",
|
|
{
|
|
"@base": "https://w3id.org/my_org/my_datamodel"
|
|
}
|
|
]
|
|
}
|