@prefix : <https://w3id.org/adiro/adiro_drawing_metadata#> .
@base <https://w3id.org/adiro/> .
@prefix metadata: <https://w3id.org/adiro/adiro_drawing_metadata#> .
@prefix dcommon: <https://w3id.org/adiro/adiro_domain_common#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

#################################################################
#  MERGED ONTOLOGY FOR VISUALIZATION
#
#  This file consolidates three sources into a single TTL for
#  visualization purposes (e.g. WebVOWL, Protégé):
#
#    1. The existing adiro_drawing_metadata.ttl (sheet/layout
#       structure, content types, visual regions).
#    2. The relevant slice of adiro_domain_common.ttl: the
#       Discipline class hierarchy and the hasDiscipline
#       object property, which UC-01 reuses.
#    3. UC-01 extensions (DrawingRevision, Project, Person,
#       StatusCode, DrawingPackage and their properties).
#
#  Not intended as a production module — production code
#  should keep these in their respective modules with proper
#  owl:imports. This is a flat consolidation for inspection.
#
#  Aligned with UC-01 ORSD v0.3 (decisions G1–G10).
#
#  A snapshot of that version: it is not kept in step with later terms (for
#  example the layout identifier and title fields, or the split of the
#  scale into drawingScale and layoutScale). The adiro_drawing_metadata
#  module is authoritative; do not update this file's content.
#################################################################

<https://w3id.org/adiro/adiro_drawing_metadata> rdf:type owl:Ontology ;
    rdfs:label "AEC Drawing Metadata Ontology (UC-01 merged view)" ;
    rdfs:comment "Merged view: drawing-metadata module + Discipline slice from dcommon + UC-01 extensions." ;
    owl:versionIRI <https://w3id.org/adiro/aec_drawing_metadata/1.0.0> ;
    owl:versionInfo "2.0.0-uc01-merged" .
# NOTE: owl:imports <http://www.w3.org/2002/07/owl#> intentionally
# omitted here. Including it makes WebVOWL render the OWL
# meta-ontology (Class, Property, Restriction, etc.) alongside
# our actual classes, swamping the diagram. Production modules
# should keep the import.


#################################################################
#  PART 1 — ORIGINAL adiro_drawing_metadata.ttl
#################################################################

###  Annotation properties

:exampleImage rdf:type owl:AnnotationProperty ;
    rdfs:label "example image"@en ;
    rdfs:comment "Links a class or concept to an example image illustrating it."@en .

:isComputerVisionOptionalLabel rdf:type owl:AnnotationProperty ;
    rdfs:label "isComputerVisionOptionalLabel" ;
    rdfs:comment "Presentation hint for downstream annotation tooling: when true, the label should be displayed on the trailing side of the tool's label panel rather than the default leading side." ;
    rdfs:range xsd:boolean .

:isComputerVisionLabel rdf:type owl:AnnotationProperty ;
    rdfs:label "isComputerVisionLabel" ;
    rdfs:comment "When true, this class can be used as a label by annotators (solid contour in diagram). When false, non-labellable (dashed contour)." ;
    rdfs:range xsd:boolean .


###  Generic object properties

:contains rdf:type owl:ObjectProperty ;
    rdfs:label "contains" ;
    rdfs:comment "Direct containment: indicates physical containment of something within a parent thing." ;
    rdfs:range owl:Thing ;
    rdfs:domain owl:Thing .

:hasProperty rdf:type owl:ObjectProperty ;
    rdfs:label "hasProperty" ;
    rdfs:comment "Subject is characterised by a property or quality." ;
    rdfs:range owl:Thing ;
    rdfs:domain owl:Thing .

:hasOrientation rdf:type owl:ObjectProperty ;
    rdfs:label "hasOrientation" ;
    rdfs:comment "Orientation value for layouts where orientation is applicable." ;
    rdfs:range :OrientationValue ;
    rdfs:domain [ rdf:type owl:Class ; owl:unionOf ( :Section :Detail ) ] .


###  Original data property

:refersToDrawingId rdf:type owl:DatatypeProperty ;
    rdfs:label "refersToDrawingId" ;
    rdfs:comment "References another Drawing by using a drawing identifier, like a drawing number." ;
    rdfs:range xsd:string ;
    rdfs:domain :TextualNote .


###  MetadataContainer class tree (visual regions for CV annotation)
###  NOTE (G10 — resolved): renamed from :Metadata to :MetadataContainer
###  per team decision. The class models supporting visual regions
###  (titleblock, legend, etc.), not semantic metadata.

:MetadataContainer rdf:type owl:Class ;
    rdfs:label "MetadataContainer" ;
    rdfs:comment "Supporting visual region on a drawing sheet (titleblock, legend, etc.). Renamed from :Metadata to avoid confusion with semantic metadata properties (drawingIdentifier, drawingTitle, etc.) on DrawingSheet. Also known as 'Metadata' in earlier versions." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:Titleblock rdf:type owl:Class ;
    rdfs:subClassOf :MetadataContainer ;
    rdfs:label "Titleblock" ;
    rdfs:comment "Titleblock containing visual information about the drawing (project name, drawing title, drawing number, etc.)." ;
    :exampleImage <img/aec_drawing_ontology/titleblock_01.png> ;
    :exampleImage <img/aec_drawing_ontology/titleblock_02.png> ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:RevisionTable rdf:type owl:Class ;
    rdfs:subClassOf :MetadataContainer ;
    rdfs:label "Revision table" ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Legend rdf:type owl:Class ;
    rdfs:subClassOf :MetadataContainer ;
    rdfs:label "Legend" ;
    rdfs:comment "A legend containing mapping information between symbols and a text signifier." ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Note rdf:type owl:Class ;
    rdfs:subClassOf :MetadataContainer ;
    rdfs:label "Note" ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:TextualNote rdf:type owl:Class ;
    rdfs:subClassOf :Note ;
    rdfs:label "Text" ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Image rdf:type owl:Class ;
    rdfs:subClassOf :Note ;
    rdfs:label "Image" ;
    :isComputerVisionLabel "true"^^xsd:boolean .


###  DrawingSheet — the top-level searchable unit (UC-01 "Drawing")

:DrawingSheet rdf:type owl:Class ;
    rdfs:subClassOf
        [ rdf:type owl:Restriction ; owl:onProperty :contains ; owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; owl:onClass :Note ] ,
        [ rdf:type owl:Restriction ; owl:onProperty :contains ; owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; owl:onClass :Legend ] ,
        [ rdf:type owl:Restriction ; owl:onProperty :contains ; owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; owl:onClass :RevisionTable ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ] ,
        [ rdf:type owl:Restriction ; owl:onProperty :contains ; owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; owl:onClass :Titleblock ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ] ,
        [ rdf:type owl:Restriction ; owl:onProperty :contains ; owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ; owl:onClass :Layout ] ;
    rdfs:label "Drawing Sheet" ;
    rdfs:comment "Top-level container for a drawing. Contains Layout(s). UC-01 'Drawing' maps to this class." ;
    :isComputerVisionLabel false .


###  Layout and LayoutContentType

:Layout rdf:type owl:Class ;
    rdfs:subClassOf
        [ rdf:type owl:Restriction ; owl:onProperty :contains ; owl:minQualifiedCardinality "0"^^xsd:nonNegativeInteger ; owl:onClass :DrawingElement ] ,
        [ rdf:type owl:Restriction ; owl:onProperty :hasProperty ; owl:onClass :LayoutContentType ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ] ;
    rdfs:label "Layout" ;
    rdfs:comment "Drawing layout — contained by DrawingSheet. Contains DrawingElement(s) and carries exactly one LayoutContentType." ;
    :isComputerVisionLabel true .

:LayoutContentType rdf:type owl:Class ;
    rdfs:label "Layout content type" ;
    rdfs:comment "Type of content included in a layout. UC-01 'DrawingType' maps to this class." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:Plan rdf:type owl:Class ;
    rdfs:subClassOf :LayoutContentType ;
    rdfs:label "Plan" ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Section rdf:type owl:Class ;
    rdfs:subClassOf :LayoutContentType ,
        [ rdf:type owl:Restriction ; owl:onProperty :hasOrientation ; owl:onClass :OrientationValue ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ] ;
    rdfs:label "Section" ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Elevation rdf:type owl:Class ;
    rdfs:subClassOf :LayoutContentType ;
    rdfs:label "Elevation" ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Table rdf:type owl:Class ;
    rdfs:subClassOf :LayoutContentType ;
    rdfs:label "Table" ;
    rdfs:comment "UC-01 'Schedule' maps to this class." ;
    :isComputerVisionLabel "true"^^xsd:boolean .

:Detail rdf:type owl:Class ;
    rdfs:subClassOf :LayoutContentType ,
        [ rdf:type owl:Restriction ; owl:onProperty :hasOrientation ; owl:onClass :OrientationValue ; owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ] ;
    rdfs:label "Detail" ;
    :isComputerVisionLabel true .

:Perspective rdf:type owl:Class ;
    rdfs:subClassOf :LayoutContentType ;
    rdfs:label "Perspective" ;
    :isComputerVisionLabel "true"^^xsd:boolean .


###  Orientation enumeration

:OrientationValue rdf:type owl:Class ;
    rdfs:label "Orientation" ;
    rdfs:comment "Enumerated orientation values used with hasOrientation." ;
    owl:oneOf ( :Undefined :Horizontal :Vertical ) ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:Undefined rdf:type owl:NamedIndividual , :OrientationValue ; rdfs:label "Undefined" .
:Horizontal rdf:type owl:NamedIndividual , :OrientationValue ; rdfs:label "Horizontal" .
:Vertical rdf:type owl:NamedIndividual , :OrientationValue ; rdfs:label "Vertical" .


###  DrawingElement (placeholder; populated by other modules)

:DrawingElement rdf:type owl:Class ;
    rdfs:label "Drawing element" ;
    rdfs:comment "Element depicted on a drawing. Contained by Layout. Populated by domain modules." ;
    :isComputerVisionLabel "false"^^xsd:boolean .


#################################################################
#  PART 2 — DISCIPLINE SLICE (reused from adiro_domain_common)
#  Per UC-01 Decision G3: reuse the existing class hierarchy.
#  Per UC-01 Decision G5: hasDiscipline domain remains
#  LayoutContentType (open issue — pending team review).
#################################################################

dcommon:Discipline rdf:type owl:Class ;
    rdfs:label "Discipline" ;
    rdfs:comment "The engineering or architectural discipline associated with a drawing content type." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

dcommon:hasDiscipline rdf:type owl:ObjectProperty ;
    rdfs:label "hasDiscipline" ;
    rdfs:comment "Links a Layout to an AEC discipline. (Revised: domain moved from LayoutContentType to Layout — see UC-01 Decision G5 discussion.)" ;
    rdfs:domain :Layout ;
    rdfs:range dcommon:Discipline .

:Layout rdfs:subClassOf [
    rdf:type owl:Restriction ;
    owl:onProperty dcommon:hasDiscipline ;
    owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
    owl:onClass dcommon:Discipline
] .

dcommon:Architectural rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Discipline ;
    rdfs:label "Architectural" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Facade rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Architectural ;
    rdfs:label "Facade" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:FireLifeSafety rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Architectural ;
    rdfs:label "Fire life safety" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Structural rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Discipline ;
    rdfs:label "Structural" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:MEP rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Discipline ;
    rdfs:label "MEP" ;
    rdfs:comment "Mechanical, Electrical, and Plumbing." ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Mechanical rdf:type owl:Class ;
    rdfs:subClassOf dcommon:MEP ;
    rdfs:label "Mechanical" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Electrical rdf:type owl:Class ;
    rdfs:subClassOf dcommon:MEP ;
    rdfs:label "Electrical" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Plumbing rdf:type owl:Class ;
    rdfs:subClassOf dcommon:MEP ;
    rdfs:label "Plumbing" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Lighting rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Electrical ;
    rdfs:label "Lighting" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Masterplan rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Discipline ;
    rdfs:label "Masterplan" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .

dcommon:Civil rdf:type owl:Class ;
    rdfs:subClassOf dcommon:Discipline ;
    rdfs:label "Civil" ;
    :isComputerVisionLabel "false"^^xsd:boolean ;
    :isComputerVisionOptionalLabel "true"^^xsd:boolean .


#################################################################
#  PART 3 — UC-01 EXTENSIONS
#  New classes and properties introduced by UC-01.
#################################################################

###  Datatype Properties on DrawingSheet (G2: directly attached)

:drawingIdentifier rdf:type owl:DatatypeProperty ;
    rdfs:label "drawingIdentifier" ;
    rdfs:comment "The unique identifier for the drawing sheet (e.g. 'ST-101'). Also known as 'drawing number'." ;
    rdfs:domain :DrawingSheet ;
    rdfs:range xsd:string .

:drawingTitle rdf:type owl:DatatypeProperty ;
    rdfs:label "drawingTitle" ;
    rdfs:comment "The descriptive title of the drawing sheet." ;
    rdfs:domain :DrawingSheet ;
    rdfs:range xsd:string .

:hasScale rdf:type owl:DatatypeProperty ;
    rdfs:label "hasScale" ;
    rdfs:comment "The drawing scale, expressed as a ratio string (e.g. '1:50')." ;
    rdfs:domain :DrawingSheet ;
    rdfs:range xsd:string .

:sheetSize rdf:type owl:DatatypeProperty ;
    rdfs:label "sheetSize" ;
    rdfs:comment "The physical sheet size (e.g. 'A1', 'A0')." ;
    rdfs:domain :DrawingSheet ;
    rdfs:range xsd:string .


###  New Classes

:DrawingRevision rdf:type owl:Class ;
    rdfs:label "Drawing Revision" ;
    rdfs:comment "A specific revision of a drawing sheet. Carries revision-specific metadata: code, issue date, status, and role-differentiated person attribution." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:Project rdf:type owl:Class ;
    rdfs:label "Project" ;
    rdfs:comment "A project under which drawing sheets are grouped." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:Person rdf:type owl:Class ;
    rdfs:label "Person" ;
    rdfs:comment "A named individual associated with a drawing revision in some role (author/checker/approver). The role is expressed by the object property, not by subclassing." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:StatusCode rdf:type owl:Class ;
    rdfs:label "Status Code" ;
    rdfs:comment "Controlled-vocabulary status assigned to a drawing revision (e.g. IFC, IFR, AFC)." ;
    :isComputerVisionLabel "false"^^xsd:boolean .

:DrawingPackage rdf:type owl:Class ;
    rdfs:label "Drawing Package" ;
    rdfs:comment "A grouping of drawing sheets within a project (e.g. a volume). UC-01 FR8 — SHOULD, lowest priority." ;
    :isComputerVisionLabel "false"^^xsd:boolean .


###  Datatype Properties on new classes

:revisionCode rdf:type owl:DatatypeProperty ;
    rdfs:label "revisionCode" ;
    rdfs:comment "The code identifying a specific revision (e.g. 'A', 'B', 'P01')." ;
    rdfs:domain :DrawingRevision ;
    rdfs:range xsd:string .

:issueDate rdf:type owl:DatatypeProperty ;
    rdfs:label "issueDate" ;
    rdfs:comment "The date this revision was issued." ;
    rdfs:domain :DrawingRevision ;
    rdfs:range xsd:date .

:projectName rdf:type owl:DatatypeProperty ;
    rdfs:label "projectName" ;
    rdfs:domain :Project ;
    rdfs:range xsd:string .

:projectNumber rdf:type owl:DatatypeProperty ;
    rdfs:label "projectNumber" ;
    rdfs:domain :Project ;
    rdfs:range xsd:string .

:personName rdf:type owl:DatatypeProperty ;
    rdfs:label "personName" ;
    rdfs:domain :Person ;
    rdfs:range xsd:string .

:statusLabel rdf:type owl:DatatypeProperty ;
    rdfs:label "statusLabel" ;
    rdfs:comment "Human-readable label of the status (e.g. 'Issued for Construction')." ;
    rdfs:domain :StatusCode ;
    rdfs:range xsd:string .

:packageName rdf:type owl:DatatypeProperty ;
    rdfs:label "packageName" ;
    rdfs:domain :DrawingPackage ;
    rdfs:range xsd:string .


###  Named subproperties of :contains (visualization aids)
###  The original ontology encodes containment via anonymous
###  owl:Restriction blocks on DrawingSheet/Layout, which
###  WebVOWL does not render as direct edges. These named
###  subproperties surface the same relationships explicitly.

:hasLayout rdf:type owl:ObjectProperty ;
    rdfs:label "hasLayout" ;
    rdfs:comment "Links a drawing sheet to one of its layouts." ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :Layout .

:hasTitleblock rdf:type owl:ObjectProperty ;
    rdfs:label "hasTitleblock" ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :Titleblock .

:hasRevisionTable rdf:type owl:ObjectProperty ;
    rdfs:label "hasRevisionTable" ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :RevisionTable .

:hasLegend rdf:type owl:ObjectProperty ;
    rdfs:label "hasLegend" ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :Legend .

:hasNote rdf:type owl:ObjectProperty ;
    rdfs:label "hasNote" ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :Note .

:hasDrawingElement rdf:type owl:ObjectProperty ;
    rdfs:label "hasDrawingElement" ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :Layout ;
    rdfs:range :DrawingElement .

:hasLayoutContentType rdf:type owl:ObjectProperty ;
    rdfs:label "hasLayoutContentType" ;
    rdfs:subPropertyOf :hasProperty ;
    rdfs:domain :Layout ;
    rdfs:range :LayoutContentType .


###  Object Properties — with subPropertyOf wiring (G6 / Plan A)

# Compositional: DrawingSheet contains its revisions
:hasRevision rdf:type owl:ObjectProperty ;
    rdfs:label "hasRevision" ;
    rdfs:comment "Links a drawing sheet to one of its revisions. Subproperty of :contains — a sheet compositionally contains its revisions." ;
    rdfs:subPropertyOf :contains ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :DrawingRevision .

# Characterising: revision has a status
:hasStatusCode rdf:type owl:ObjectProperty ;
    rdfs:label "hasStatusCode" ;
    rdfs:comment "Links a drawing revision to its status. Subproperty of :hasProperty — status is a characterising quality." ;
    rdfs:subPropertyOf :hasProperty ;
    rdfs:domain :DrawingRevision ;
    rdfs:range :StatusCode .

# Associative (top-level — neither containment nor characterisation)
:belongsToProject rdf:type owl:ObjectProperty ;
    rdfs:label "belongsToProject" ;
    rdfs:comment "Links a drawing sheet to its project." ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :Project .

:belongsToPackage rdf:type owl:ObjectProperty ;
    rdfs:label "belongsToPackage" ;
    rdfs:comment "Links a drawing sheet to its containing package or volume." ;
    rdfs:domain :DrawingSheet ;
    rdfs:range :DrawingPackage .

# Role-differentiated (top-level — too specific to roll up)
:isAuthoredBy rdf:type owl:ObjectProperty ;
    rdfs:label "isAuthoredBy" ;
    rdfs:comment "Person who authored this revision." ;
    rdfs:domain :DrawingRevision ;
    rdfs:range :Person .

:isCheckedBy rdf:type owl:ObjectProperty ;
    rdfs:label "isCheckedBy" ;
    rdfs:comment "Person who checked this revision." ;
    rdfs:domain :DrawingRevision ;
    rdfs:range :Person .

:isApprovedBy rdf:type owl:ObjectProperty ;
    rdfs:label "isApprovedBy" ;
    rdfs:comment "Person who approved this revision." ;
    rdfs:domain :DrawingRevision ;
    rdfs:range :Person .


#################################################################
#  OPEN ISSUES (documented as comments, not encoded)
#
#  G5  — Should DrawingSheet itself carry hasDiscipline (a
#         "primary discipline"), in addition to the existing
#         Layout-level discipline? Pending team decision.
#  G10 — Resolved: :Metadata renamed to :MetadataContainer
#         (team decision).
#  Civil — Confirmed by team: to be added as direct subclass
#         of dcommon:Discipline.
#################################################################
