Skip to content

RetentionDuration

Sub-class of Time with units relevant for retention durations.

URI: gx:RetentionDuration

 classDiagram
    class RetentionDuration
    click RetentionDuration href "../RetentionDuration"
      Time <|-- RetentionDuration
        click Time href "../Time"

      RetentionDuration : unit




    RetentionDuration --> "1" String : unit
    click String href "../String"


      RetentionDuration : value




    RetentionDuration --> "1" Float : value
    click Float href "../Float"


Inheritance

Slots

Name Cardinality and Range Description Inheritance
value 1
xsd:float
Value of physical quantity QuantityKind
unit 1
xsd:string
Unit of physical quantity QuantityKind

Usages

used by used in type used
DataProtectionPolicy protectionRetention range RetentionDuration
BackupPolicy protectionRetention range RetentionDuration
SnapshotPolicy protectionRetention range RetentionDuration
ReplicationPolicy protectionRetention range RetentionDuration

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/gaia-x/development#quantity

LinkML Source

Direct

name: RetentionDuration
description: Sub-class of Time with units relevant for retention durations.
from_schema: https://w3id.org/gaia-x/development#quantity
is_a: Time
rules:
- preconditions:
    slot_conditions:
      value:
        name: value
        value_presence: PRESENT
  postconditions:
    slot_conditions:
      unit:
        name: unit
        equals_string_in:
        - https://qudt.org/vocab/unit/MIN
        - https://qudt.org/vocab/unit/HR
        - https://qudt.org/vocab/unit/DAY
        - https://qudt.org/vocab/unit/WK
        - https://qudt.org/vocab/unit/MO
        - https://qudt.org/vocab/unit/YR

Induced

name: RetentionDuration
description: Sub-class of Time with units relevant for retention durations.
from_schema: https://w3id.org/gaia-x/development#quantity
is_a: Time
attributes:
  value:
    name: value
    description: Value of physical quantity. See https://qudt.org/schema/qudt/value
    from_schema: https://w3id.org/gaia-x/development#quantity
    slot_uri: qudt:value
    alias: value
    owner: RetentionDuration
    domain_of:
    - QuantityKind
    - FloatPercentage
    - Latest_N
    range: float
    required: true
    minimum_value: 0
  unit:
    name: unit
    description: Unit of physical quantity. See https://qudt.org/schema/qudt/Unit
    from_schema: https://w3id.org/gaia-x/development#quantity
    slot_uri: qudt:unit
    alias: unit
    owner: RetentionDuration
    domain_of:
    - QuantityKind
    range: string
    required: true
rules:
- preconditions:
    slot_conditions:
      value:
        name: value
        value_presence: PRESENT
  postconditions:
    slot_conditions:
      unit:
        name: unit
        equals_string_in:
        - https://qudt.org/vocab/unit/MIN
        - https://qudt.org/vocab/unit/HR
        - https://qudt.org/vocab/unit/DAY
        - https://qudt.org/vocab/unit/WK
        - https://qudt.org/vocab/unit/MO
        - https://qudt.org/vocab/unit/YR