name: multi_usages
id: http://example.org/multi_usages
imports:
- linkml:types
license: https://creativecommons.org/publicdomain/zero/1.0/
prefixes:
  xsd:
    prefix_prefix: xsd
    prefix_reference: http://www.w3.org/2001/XMLSchema#
  linkml:
    prefix_prefix: linkml
    prefix_reference: https://w3id.org/linkml/
default_prefix: http://example.org/multi_usages/
default_range: string
types:
  string:
    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: xsd:string
  integer:
    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: xsd:integer
  boolean:
    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: xsd:boolean
    repr: bool
  float:
    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: xsd:float
  double:
    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: xsd:double
  decimal:
    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: xsd:decimal
  time:
    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 don't work with straight date or time
    from_schema: https://w3id.org/linkml/types
    imported_from: linkml:types
    base: XSDTime
    uri: xsd:dateTime
    repr: str
  date:
    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: xsd:date
    repr: str
  datetime:
    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: xsd:dateTime
    repr: str
  uriorcurie:
    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: xsd:anyURI
    repr: str
  uri:
    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: xsd:anyURI
    repr: str
  ncname:
    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: xsd:string
    repr: str
  objectidentifier:
    name: objectidentifier
    definition_uri: https://w3id.org/linkml/Objectidentifier
    description: A URI or CURIE that represents an object in the model.
    comments:
    - Used for inheritence and type checking
    from_schema: https://w3id.org/linkml/types
    imported_from: linkml:types
    base: ElementIdentifier
    uri: shex:iri
    repr: str
  nodeidentifier:
    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: shex:nonLiteral
    repr: str
slots:
  s1:
    name: s1
    definition_uri: http://example.org/multi_usages/s1
    description: A muti-valued string name 's1', no alias,  domain of 'root_class'
    from_schema: http://example.org/multi_usages
    range: string
    slot_uri: http://example.org/multi_usages/s1
    multivalued: true
    owner: root_class
    domain_of:
    - root_class
  child_class1_s1:
    name: child_class1_s1
    description: A muti-valued boolean named 'child_class1_s1', alias 's1' is_a 's1'
    from_schema: http://example.org/multi_usages
    is_a: s1
    domain: child_class1
    range: boolean
    slot_uri: http://example.org/multi_usages/s1
    multivalued: true
    alias: s1
    owner: child_class1
    domain_of:
    - child_class1
    is_usage_slot: true
    usage_slot_name: s1
  child_class2_s1:
    name: child_class2_s1
    description: A muti-valued integer named 'child_class2_s1', alias 's1', is_a 'child_class1_s1'
    from_schema: http://example.org/multi_usages
    is_a: child_class1_s1
    domain: child_class2
    range: integer
    slot_uri: http://example.org/multi_usages/s1
    multivalued: true
    alias: s1
    owner: child_class2
    domain_of:
    - child_class2
    is_usage_slot: true
    usage_slot_name: s1
  child_class3_s1:
    name: child_class3_s1
    description: A single-valued integer named 'child_class3_s1', alias 's1' is_a
      'child_class_2_s1'
    from_schema: http://example.org/multi_usages
    is_a: child_class2_s1
    domain: child_class3
    range: integer
    slot_uri: http://example.org/multi_usages/s1
    multivalued: false
    alias: s1
    owner: child_class3
    domain_of:
    - child_class3
    is_usage_slot: true
    usage_slot_name: s1
classes:
  root_class:
    name: root_class
    definition_uri: http://example.org/multi_usages/RootClass
    from_schema: http://example.org/multi_usages
    slots:
    - s1
    class_uri: http://example.org/multi_usages/RootClass
  child_class1:
    name: child_class1
    definition_uri: http://example.org/multi_usages/ChildClass1
    from_schema: http://example.org/multi_usages
    is_a: root_class
    slots:
    - child_class1_s1
    slot_usage:
      s1:
        name: s1
        description: A muti-valued boolean named 'child_class1_s1', alias 's1' is_a
          's1'
        range: boolean
    class_uri: http://example.org/multi_usages/ChildClass1
  child_class2:
    name: child_class2
    definition_uri: http://example.org/multi_usages/ChildClass2
    from_schema: http://example.org/multi_usages
    is_a: child_class1
    slots:
    - child_class2_s1
    slot_usage:
      s1:
        name: s1
        description: A muti-valued integer named 'child_class2_s1', alias 's1', is_a
          'child_class1_s1'
        range: integer
    class_uri: http://example.org/multi_usages/ChildClass2
  child_class3:
    name: child_class3
    definition_uri: http://example.org/multi_usages/ChildClass3
    from_schema: http://example.org/multi_usages
    is_a: child_class2
    slots:
    - child_class3_s1
    slot_usage:
      s1:
        name: s1
        description: A single-valued integer named 'child_class3_s1', alias 's1' is_a
          'child_class_2_s1'
        multivalued: false
    class_uri: http://example.org/multi_usages/ChildClass3
metamodel_version: 1.7.0
source_file: multi_usages.yaml
source_file_date: Wed Mar 24 16:43:50 2021
source_file_size: 952
generation_date: 2021-03-24 16:49
