Schema index

Class: RecordCountSource

How to count a Mech’s records from its repository: every file under path whose name matches pattern, at the head of branch. The repository is the Mech’s repository.

URI: mechregistry:RecordCountSource

 classDiagram
    class RecordCountSource
    click RecordCountSource href "../RecordCountSource/"
      RecordCountSource : branch
        
      RecordCountSource : exclude
        
      RecordCountSource : path
        
      RecordCountSource : pattern
        
      

Slots

Name Cardinality and Range Description Inheritance
path 1
String
The directory in the repository that holds the records, for example kb/disord… direct
pattern 0..1
String
A shell-style pattern the file name must match direct
exclude *
String
Shell-style patterns for file names that match pattern but are not records, f… direct
branch 0..1
String
The branch to count on direct

Usages

used by used in type used
Mech record_count_source range RecordCountSource

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self mechregistry:RecordCountSource
native mechregistry:RecordCountSource

LinkML Source

Direct

Show source
name: RecordCountSource
description: 'How to count a Mech''s records from its repository: every file under
  path whose name matches pattern, at the head of branch. The repository is the Mech''s
  repository.'
from_schema: https://w3id.org/monarch-initiative/mechregistry
attributes:
  path:
    name: path
    description: The directory in the repository that holds the records, for example
      kb/disorders. Files in subdirectories are counted.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    domain_of:
    - RecordCountSource
    required: true
  pattern:
    name: pattern
    description: A shell-style pattern the file name must match. Defaults to *.yaml.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    ifabsent: string(*.yaml)
    domain_of:
    - RecordCountSource
  exclude:
    name: exclude
    description: Shell-style patterns for file names that match pattern but are not
      records, for example product pages kept next to each record.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    domain_of:
    - RecordCountSource
    multivalued: true
  branch:
    name: branch
    description: The branch to count on. Defaults to the repository's default branch.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    domain_of:
    - RecordCountSource

Induced

Show source
name: RecordCountSource
description: 'How to count a Mech''s records from its repository: every file under
  path whose name matches pattern, at the head of branch. The repository is the Mech''s
  repository.'
from_schema: https://w3id.org/monarch-initiative/mechregistry
attributes:
  path:
    name: path
    description: The directory in the repository that holds the records, for example
      kb/disorders. Files in subdirectories are counted.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    owner: RecordCountSource
    domain_of:
    - RecordCountSource
    range: string
    required: true
  pattern:
    name: pattern
    description: A shell-style pattern the file name must match. Defaults to *.yaml.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    ifabsent: string(*.yaml)
    owner: RecordCountSource
    domain_of:
    - RecordCountSource
    range: string
  exclude:
    name: exclude
    description: Shell-style patterns for file names that match pattern but are not
      records, for example product pages kept next to each record.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    owner: RecordCountSource
    domain_of:
    - RecordCountSource
    range: string
    multivalued: true
  branch:
    name: branch
    description: The branch to count on. Defaults to the repository's default branch.
    from_schema: https://w3id.org/monarch-initiative/mechregistry
    rank: 1000
    owner: RecordCountSource
    domain_of:
    - RecordCountSource
    range: string