Class: Document

The envelope of a record written as its own file. tvbo_class names the class the file holds and schema_version the schema it was written against; both are facts about the file, so TVBO’s dialect drops them before construction and no object ever carries them. Declaring them here is what lets a third party validate a TVBO file with plain linkml-validate. A class taking this mixin pins its own CURIE with slot_usage: {tvbo_class: {equals_string: ...}}, so a file naming the wrong class is refused natively.

URI: tvbo:class/Document

 classDiagram
    class Document
    click Document href "./Document.html"
      Document <|-- Theme
        click Theme href "./Theme.html"
      Document <|-- ExperimentResultSidecar
        click ExperimentResultSidecar href "./ExperimentResultSidecar.html"
      Document <|-- Phenotype
        click Phenotype href "./Phenotype.html"
      Document <|-- Network
        click Network href "./Network.html"
      
      Document : schema_version
        
          
    
        
        
        Document --> "0..1" String : schema_version
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      Document : tvbo_class
        
          
    
        
        
        Document --> "0..1" String : tvbo_class
        click String href "../http://www.w3.org/2001/XMLSchema#string.html"
    

        
      

Class Properties

Property Value
Mixin Yes

Slots

Name Cardinality and Range Description Inheritance
tvbo_class 0..1
xsd:string
The class a file holds, as a CURIE (tvbo:Network) — the envelope Documen... | direct | | [schema_version](../slots/schema_version.qmd) | 0..1 <br/> [xsd:string](http://www.w3.org/2001/XMLSchema#string) | The schema version a file was written against — the envelopeDocument` decla… direct

Mixin Usage

mixed into description
Theme A project’s whole look in one declarable object: its colours (inherited from …
ExperimentResultSidecar Descriptor for a cached ExperimentResult: the | | [Phenotype](../classes/Phenotype.qmd) | Per-subject phenotype table (BIDSphenotype/`` directory convention)
Network Network specification with nodes, edges, and reusable coupling configurations

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/tvbo/common

Mappings

Mapping Type Mapped Value
self tvbo:Document
native tvbo:Document

LinkML Source

Direct

name: Document
description: 'The envelope of a record written as its own file. ``tvbo_class`` names
  the class the file holds and ``schema_version`` the schema it was written against;
  both are facts about the file, so TVBO''s dialect drops them before construction
  and no object ever carries them. Declaring them here is what lets a third party
  validate a TVBO file with plain ``linkml-validate``. A class taking this mixin pins
  its own CURIE with ``slot_usage: {tvbo_class: {equals_string: ...}}``, so a file
  naming the wrong class is refused natively.'
from_schema: https://w3id.org/tvbo/common
mixin: true
slots:
- tvbo_class
- schema_version

Induced

name: Document
description: 'The envelope of a record written as its own file. ``tvbo_class`` names
  the class the file holds and ``schema_version`` the schema it was written against;
  both are facts about the file, so TVBO''s dialect drops them before construction
  and no object ever carries them. Declaring them here is what lets a third party
  validate a TVBO file with plain ``linkml-validate``. A class taking this mixin pins
  its own CURIE with ``slot_usage: {tvbo_class: {equals_string: ...}}``, so a file
  naming the wrong class is refused natively.'
from_schema: https://w3id.org/tvbo/common
mixin: true
attributes:
  tvbo_class:
    name: tvbo_class
    description: The class a file holds, as a CURIE (``tvbo:Network``) — the envelope
      `Document` declares.
    from_schema: https://w3id.org/tvbo/common
    owner: Document
    domain_of:
    - Document
    range: string
    pattern: ^tvbo:[A-Z][A-Za-z0-9]*$
  schema_version:
    name: schema_version
    description: The schema version a file was written against — the envelope `Document`
      declares.
    from_schema: https://w3id.org/tvbo/common
    owner: Document
    domain_of:
    - Document
    range: string