@prefix ogit.Procurement:     <http://www.purl.org/ogit/Procurement/> .
@prefix ogit:                   <http://www.purl.org/ogit/> .
@prefix rdfs:                   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms:                <http://purl.org/dc/terms/> .

ogit.Procurement:Invoice
  a rdfs:Class;
  rdfs:subClassOf ogit:Entity;
  rdfs:label "Invoice";
  dcterms:description "An invoice for a purchase order.";
  dcterms:valid "start=20221-01-27;";
  dcterms:creator "Marek Meyer";
  ogit:scope "NTO";
  ogit:parent ogit:Node;
  ogit:mandatory-attributes (
  );
  ogit:optional-attributes (
    ogit.Procurement:invoiceId
    ogit.Procurement:invoiceDate
    ogit:description
    ogit:name
  );
  ogit:indexed-attributes (
    ogit.Procurement:invoiceId
    ogit.Procurement:invoiceDate
    ogit:description
    ogit:name
  );
  ogit:allowed (
  );
.

@prefix ogit.Procurement:     <http://www.purl.org/ogit/Procurement/> .
@prefix ogit:                   <http://www.purl.org/ogit/> .
@prefix rdfs:                   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dcterms:                <http://purl.org/dc/terms/> .

ogit.Procurement:Invoice
  a rdfs:Class;
  rdfs:subClassOf ogit:Entity;
  rdfs:label "Invoice";
  dcterms:description "An invoice for a purchase order.";
  dcterms:valid "start=20221-01-27;";
  dcterms:creator "Marek Meyer";
  ogit:scope "NTO";
  ogit:parent ogit:Node;
  ogit:mandatory-attributes (
  );
  ogit:optional-attributes (
    ogit.Procurement:invoiceId
    ogit.Procurement:invoiceDate
    ogit:description
    ogit:name
  );
  ogit:indexed-attributes (
    ogit.Procurement:invoiceId
    ogit.Procurement:invoiceDate
    ogit:description
    ogit:name
  );
  ogit:allowed (
	[ ogit:contains  ogit.Procurement:PurchaseOrderItem ]
  );
.
