PREFIX gleif-repex: <https://www.gleif.org/ontology/ReportingException/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

gleif-repex:DirectConsolidationReportingException a rdfs:Class ;
  rdfs:label "direct consolidation reporting exception" ;
  rdfs:comment "The legal entity has declined to report a direct accounting consolidation parent, based on applicable accounting standards." ;
  rdfs:subClassOf gleif-repex:ReportingException .

gleif-repex:hasExceptionReason a rdf:Property ;
  rdfs:label "has exception reason" ;
  rdfs:comment "A single reason provided by the legal entity for declining to provide the mandatory report of a specified type of information (beyond the minimum reference data needed purely for identification of the legal entity)." ;
  rdfs:domain gleif-repex:ReportingException ;
  rdfs:range gleif-repex:ExceptionReasonKind .

gleif-repex:hasExceptionReference a rdf:Property ;
  rdfs:label "has exception reference" ;
  rdfs:comment "References of the law, regulation or other element of the legal framework to support reason(s) provided by the legal entity for declining to provide information on its parents." ;
  rdfs:domain gleif-repex:ReportingException ;
  rdfs:range <https://w3id.org/linkml/Any> .

gleif-repex:hasReportingEntity a rdf:Property ;
  rdfs:label "has reporting entity" ;
  rdfs:comment "The LEI-registered legal entity which raised this exception." ;
  rdfs:domain gleif-repex:ReportingException ;
  rdfs:range <https://www.gleif.org/ontology/L1/RegisteredEntity> .

<https://www.gleif.org/ontology/L1/RegisteredEntity> a rdfs:Class .

gleif-repex:UltimateConsolidationReportingException a rdfs:Class ;
  rdfs:label "ultimate consolidation reporting exception" ;
  rdfs:comment "The legal entity has declined to report an ultimate accounting consolidation parent, based on applicable accounting standards." ;
  rdfs:subClassOf gleif-repex:ReportingException .

gleif-repex:ReportingException a rdfs:Class ;
  rdfs:label "reporting exception" ;
  rdfs:comment "A single exception to a specified reporting requirement, giving reasons and references where applicable." .

<https://w3id.org/linkml/Any> a rdfs:Class ;
  rdfs:comment "An unconstrained type or object" .

gleif-repex:ExceptionReasonKind a rdfs:Class ;
  rdfs:label "exception reason" ;
  rdfs:comment "A single reason provided by the legal entity for declining to provide the mandatory report of a specified type of information (beyond the minimum reference data needed purely for identification of the legal entity). " .

gleif-repex:ExceptionReasonKindNoLEI a gleif-repex:ExceptionReasonKind ;
  rdfs:label "no LEI" ;
  rdfs:comment "The parent does not consent to have an LEI." .

gleif-repex:ExceptionReasonKindNaturalPersons a gleif-repex:ExceptionReasonKind ;
  rdfs:label "natural persons" ;
  rdfs:comment "There is no parent according to the definition used, because the entity is controlled by natural person(s) without any intermediate legal entity meeting the definition of accounting consolidating parent." .

gleif-repex:ExceptionReasonKindNonConsolidating a gleif-repex:ExceptionReasonKind ;
  rdfs:label "non consolidating" ;
  rdfs:comment "There is no parent according to the definition used, because the entity is controlled by legal entities not subject to preparing consolidated financial statements." .

gleif-repex:ExceptionReasonKindNoKnownPerson a gleif-repex:ExceptionReasonKind ;
  rdfs:label "no known person" ;
  rdfs:comment "There is no parent according to the definition used, because there is no known person controlling the entity (e.g., diversified shareholding)." .

gleif-repex:ExceptionReasonKindLegalObstacles a gleif-repex:ExceptionReasonKind ;
  rdfs:label "legal obstacles" ;
  rdfs:comment "Obstacles in the laws or regulations of a jurisdiction prevent providing or publishing this information. This does not include cases where, under the applicable legal framework disclosing the parent relationship would require the consent of one of the entities in the relationship, or both, and such consent could not be obtained (in these cases 'CONSENT_NOT_OBTAINED' is the applicable code). The LOU is not expected to verify or analyze whether the legal framework constitutes a legal obstacle." .

gleif-repex:ExceptionReasonKindConsentNotObtained a gleif-repex:ExceptionReasonKind ;
  rdfs:label "consent not obtained" ;
  rdfs:comment "There is no parent according to the definition used, because there is no known person controlling the entity (e.g., diversified shareholding)." .

gleif-repex:ExceptionReasonKindLegalCommitments a gleif-repex:ExceptionReasonKind .

gleif-repex:ExceptionReasonKindDetrimentNotExcluded a gleif-repex:ExceptionReasonKind ;
  rdfs:label "detriment not excluded" ;
  rdfs:comment """The child entity has sought to consult the parent entity about the reporting of the parent information to the GLEIS but could not confirm the absence of detriment in a way that can appropriately prevent liability risks for the child entity (or those acting on its behalf) under the applicable legal framework. The disclosure of this information would be detrimental to the legal entity or the relevant parent. This will include reasons generally accepted by public authorities in similar circumstances, based on a declaration by the entity. 
  This reason may be used only when all following cumulative circumstances apply: [i) the parent could not be informed via the GLEIS and have the possibility to correct the relationship information before publication (including raising a cause for opt out, either because the parent does not have an LEI, or it has an LEI but the GLEIS has not yet implemented such system;] ii) the relationship is not already in the public domain (information being in the public domain assumes here that the way the information came into the public domain did not infringe the applicable legal framework); iii) the child entity has reasons to believe that the parent may consider disclosure to be detrimental; (iv) the child entity has sought to consult the parent entity of the reporting of the parent information to the GLEIS but could not confirm the absence of detriment in a way that can appropriately prevent liability risks for the child entity (or those acting on its behalf) under the applicable legal framework.""" .

gleif-repex:ExceptionReasonKindDisclosureDetrimental a gleif-repex:ExceptionReasonKind ;
  rdfs:label "disclosure detrimental" ;
  rdfs:comment "The disclosure of this information would be detrimental to the legal entity or the relevant parent. This will include reasons generally accepted by public authorities in similar circumstances, based on a declaration by the entity." .
