Skip to content

Class: ParcellationColorAssignment

The parcellation color assignment associates hex color value to a parcellation term within a versioned release of a color scheme. A parcellation term is uniquely denoted by a parcellation term identifier and the parcellation terminology it belongs to.

URI: AnS:ParcellationColorAssignment

classDiagram class ParcellationColorAssignment click ParcellationColorAssignment href "../ParcellationColorAssignment" ParcellationColorAssignment : color ParcellationColorAssignment : part_of_parcellation_color_scheme ParcellationColorAssignment : subject_parcellation_term

Slots

Name Cardinality and Range Description Inheritance
part_of_parcellation_color_scheme 1
String or 
ParcellationColorScheme or 
String
Reference to the parcellation color scheme for which the color assignment is ... direct
subject_parcellation_term 1
String or 
ParcellationTerm or 
String
Reference to the parcellation term identifier for which the color assignment ... direct
color 0..1
String
A string representing to hex triplet code of a color direct

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/my-org/anatomical-structure-schema

Mappings

Mapping Type Mapped Value
self AnS:ParcellationColorAssignment
native AnS:ParcellationColorAssignment

LinkML Source

Direct

name: ParcellationColorAssignment
description: The parcellation color assignment associates hex color value to a parcellation
  term within a  versioned release of a color scheme. A parcellation term is uniquely
  denoted by a parcellation  term identifier and the parcellation terminology it belongs
  to.
from_schema: https://w3id.org/my-org/anatomical-structure-schema
attributes:
  part_of_parcellation_color_scheme:
    name: part_of_parcellation_color_scheme
    description: Reference to the parcellation color scheme for which the color assignment
      is part of.
    from_schema: https://w3id.org/my-org/anatomical-structure-schema
    rank: 1000
    domain_of:
    - ParcellationColorAssignment
    required: true
    any_of:
    - range: ParcellationColorScheme
    - range: string
  subject_parcellation_term:
    name: subject_parcellation_term
    description: Reference to the parcellation term identifier for which the color
      assignment is about.
    from_schema: https://w3id.org/my-org/anatomical-structure-schema
    rank: 1000
    domain_of:
    - ParcellationColorAssignment
    - ParcellationAnnotationTermMap
    required: true
    any_of:
    - range: ParcellationTerm
    - range: string
  color:
    name: color
    description: A string representing to hex triplet code of a color
    from_schema: https://w3id.org/my-org/anatomical-structure-schema
    rank: 1000
    domain_of:
    - ParcellationColorAssignment
    range: string
    structured_pattern:
      syntax: '{ColorHexTriplet}'

Induced

name: ParcellationColorAssignment
description: The parcellation color assignment associates hex color value to a parcellation
  term within a  versioned release of a color scheme. A parcellation term is uniquely
  denoted by a parcellation  term identifier and the parcellation terminology it belongs
  to.
from_schema: https://w3id.org/my-org/anatomical-structure-schema
attributes:
  part_of_parcellation_color_scheme:
    name: part_of_parcellation_color_scheme
    description: Reference to the parcellation color scheme for which the color assignment
      is part of.
    from_schema: https://w3id.org/my-org/anatomical-structure-schema
    rank: 1000
    alias: part_of_parcellation_color_scheme
    owner: ParcellationColorAssignment
    domain_of:
    - ParcellationColorAssignment
    range: string
    required: true
    any_of:
    - range: ParcellationColorScheme
    - range: string
  subject_parcellation_term:
    name: subject_parcellation_term
    description: Reference to the parcellation term identifier for which the color
      assignment is about.
    from_schema: https://w3id.org/my-org/anatomical-structure-schema
    rank: 1000
    alias: subject_parcellation_term
    owner: ParcellationColorAssignment
    domain_of:
    - ParcellationColorAssignment
    - ParcellationAnnotationTermMap
    range: string
    required: true
    any_of:
    - range: ParcellationTerm
    - range: string
  color:
    name: color
    description: A string representing to hex triplet code of a color
    from_schema: https://w3id.org/my-org/anatomical-structure-schema
    rank: 1000
    alias: color
    owner: ParcellationColorAssignment
    domain_of:
    - ParcellationColorAssignment
    range: string
    structured_pattern:
      syntax: '{ColorHexTriplet}'