Menu

#34 Model RelationKind as its own type

Revision
accepted
David
2026-02-02
2018-08-29
Martin
No

Currently, the type of B.46 AbstractMetricDescriptor/Relation/@Kind is "restriction of xsd:string". Typically, we modelled such enumeration types as separate types, like for example B.441 MetricAvailability.

Formally, this makes no difference. However, it would harmonize our model and would create some more convenience in libraries being generated automatically from the schema.

Discussion

  • Stefan Schlichting

    • labels: --> Revision
     
  • Stefan Schlichting

    Would need to be included in a revision of the schema. Hence, we leave the ticket open.

     
  • David

    David - 2021-05-31
    • labels: Revision -->
    • status: open --> accepted
    • assigned_to: David
    • Milestone: Amendments --> Revision
     
  • David

    David - 2021-05-31

    The reason this attribute appears as a restriction of string is because it is modeled as an inline data type. Pull this data type spec out of the attribute definition.

     
  • Björn Andersen

    Björn Andersen - 2022-11-21
    • Milestone: Revision Draft 1 --> untriaged
     
  • Björn Andersen

    Björn Andersen - 2023-03-06
    • labels: --> relation, schema, B.46
    • assigned_to: David --> nobody
    • Milestone: untriaged --> Revision
     
  • Björn Andersen

    Björn Andersen - 2026-02-02
    • labels: relation, schema, B.46 --> relation, schema, B.46, not breaking backward compatibility
    • assigned_to: David
     

Log in to post a comment.