PREFIX payment: <http://reference.data.gov.uk/def/payment#>
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#>

<http://purl.org/linked-data/cube#SliceKey> a rdfs:Class .

<http://reference.data.gov.uk/def/intervals/Interval> a rdfs:Class .

<http://purl.org/linked-data/cube#DataSet> a rdfs:Class .

<http://purl.org/linked-data/cube#Observation> a rdfs:Class .

<http://xmlns.com/foaf/0.1/Agent> a rdfs:Class .

<http://www.w3.org/2004/02/skos/core#ConceptScheme> a rdfs:Class .

<http://purl.org/linked-data/cube#DimensionProperty> a rdfs:Class .

payment:Purchase a rdfs:Class ;
  rdfs:label "Purchase"@en ;
  rdfs:comment "The overall goods or service for which the payment was made"@en .

payment:procurementCategory a rdf:Property ;
  rdfs:label "procurement category"@en ;
  rdfs:comment "A classification for the goods or services for which the payment was made."@en ;
  rdfs:domain payment:Purchase ;
  rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> .

payment:narrative a rdf:Property ;
  rdfs:label "narrative"@en ;
  rdfs:comment "A narrative description of the goods or services that were supplied."@en ;
  rdfs:domain payment:Purchase ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:Redaction a rdfs:Class ;
  rdfs:label "Redaction"@en ;
  rdfs:comment """An instance of Redaction can be used in place of the actual value 
in a dataset to indicate that this is a replacement for the true data value which has
been redacted. Typically the Redaction resource will be a blank note. It is recommended 
that it have an appropriate rdfs:label (e.g. REDACTED). If further information on the
reaction is available then dcterms properties should be used to carry those, in partcular
dct:description can be used to convey a description of the redaction and reasons"""@en .

<http://purl.org/linked-data/cube#MeasureProperty> a rdfs:Class .

payment:ExpenditureLine a rdfs:Class ;
  rdfs:label "Expenditure Line"@en ;
  rdfs:comment "An item of expenditure that can be classified or assigned to a cost centre"@en ;
  rdfs:subClassOf <http://purl.org/linked-data/cube#Observation> .

payment:grossAmount a rdf:Property ;
  rdfs:label "gross amount"@en ;
  rdfs:comment "The amount paid, inclusive of any tax (whether reclaimable or not)"@en ;
  rdfs:domain payment:ExpenditureLine ;
  rdfs:range xsd:decimal .

payment:expenditureCode a rdf:Property ;
  rdfs:label "expenditure code"@en ;
  rdfs:comment "An (optional) internal code for the expenditure category. Such codes may not be useful across organizations but retaining them in a dataset may aid comparability of datasets within an organization and help with tracing back requests for further information. The internal code may actually be an amalgam of multiple different categories (e.g. may denote both the subjective and objective classifications of an expenditure)."@en ;
  rdfs:domain payment:ExpenditureLine ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:payment a rdf:Property ;
  rdfs:label "payment"@en ;
  rdfs:comment "Indicates the payment of which this expenditure line is a part."@en ;
  rdfs:domain payment:ExpenditureLine ;
  rdfs:range payment:Payment .

payment:expenditureCategory a rdf:Property ;
  rdfs:label "expenditure category"@en ;
  rdfs:comment "The category of expenditure in some appropriate categorization scheme (such as the Best Value Account Code of Practice categories). If the scheme is hierarchical then this should at least designate the narrowest (most fine grain) applicable code and can additionally designate the broader codes. Multiple code schemes can be used within the same dataset and consuming applications can use the skos:inScheme (and the rdf:type) of the code to determine the scheme."@en ;
  rdfs:domain payment:ExpenditureLine ;
  rdfs:range <http://www.w3.org/2004/02/skos/core#Concept> .

payment:netAmount a rdf:Property ;
  rdfs:label "net amount"@en ;
  rdfs:comment "The net amount of the payment. This is the effective cost to the payer after any reclaimable tax has been deducted."@en ;
  rdfs:domain payment:ExpenditureLine ;
  rdfs:range xsd:decimal .

payment:PaymentDataset a rdfs:Class ;
  rdfs:label "Payment data set"@en ;
  rdfs:comment "A set of payments or expenditures, laid out as a cube of data"@en ;
  rdfs:subClassOf <http://purl.org/linked-data/cube#DataSet> .

<http://www.w3.org/ns/org#OrganizationalUnit> a rdfs:Class .

payment:Payment a rdfs:Class ;
  rdfs:label "Payment"@en ;
  rdfs:comment "A payment to a supplier for some goods or services, may correspond to one or more expenditure lines"@en ;
  rdfs:subClassOf <http://purl.org/linked-data/cube#Slice> .

payment:reference a rdf:Property ;
  rdfs:label "reference"@en ;
  rdfs:comment "A reference number, code or label which identifies the payment. Not unique across different suppliers."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:totalNetAmount a rdf:Property ;
  rdfs:label "total net amount"@en ;
  rdfs:domain <http://purl.org/linked-data/cube#Slice> ;
  rdfs:range xsd:decimal .

payment:expenditureLine a rdf:Property ;
  rdfs:label "expenditure line"@en ;
  rdfs:comment "Links a payment to the individual expenditure lines associated with it."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range payment:ExpenditureLine ;
  rdfs:subPropertyOf <http://purl.org/linked-data/cube#observation> .

payment:invoice a rdf:Property ;
  rdfs:label "invoice"@en ;
  rdfs:comment "Indicates an invoice associated with this payment (optional)."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:unit a rdf:Property ;
  rdfs:label "unit"@en ;
  rdfs:comment """Optionally indicates a particular organizational 
unit (Department, Directorate etc) of the payer organization associated with the payment.
Use org:classification to link the unit to a categorization of types of units to 
support cross-comparison. For example, in the UK Local Authority spend application
then the ESDToolkit-maintained list of Department Types may be a suitable code list."""@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <http://www.w3.org/ns/org#OrganizationalUnit> .

payment:purchase a rdf:Property ;
  rdfs:label "purchase"@en ;
  rdfs:comment "Indicates the overall goods or service for which the payment was made."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:payer a rdf:Property ;
  rdfs:label "payer"@en ;
  rdfs:comment "The entity which made the payment."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <http://xmlns.com/foaf/0.1/Agent> .

payment:date a rdf:Property ;
  rdfs:label "date"@en ;
  rdfs:comment "The date the payment is deemed to have occurred."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <http://reference.data.gov.uk/def/intervals/Interval> .

payment:order a rdf:Property ;
  rdfs:label "order"@en ;
  rdfs:comment "Indicates an order associated with this payment (optional)."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:totalGrossAmount a rdf:Property ;
  rdfs:label "total gross amount"@en ;
  rdfs:domain <http://purl.org/linked-data/cube#Slice> ;
  rdfs:range xsd:decimal .

payment:payee a rdf:Property ;
  rdfs:label "payee"@en ;
  rdfs:comment "The entity to which the payment was made."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <http://xmlns.com/foaf/0.1/Agent> .

payment:contract a rdf:Property ;
  rdfs:label "contract"@en ;
  rdfs:comment "Indicates a contract associated with this payment (optional)."@en ;
  rdfs:domain payment:Payment ;
  rdfs:range <https://w3id.org/linkml/Any> .

<http://www.w3.org/2004/02/skos/core#Concept> a rdfs:Class .

<http://purl.org/linked-data/cube#Slice> a rdfs:Class .

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

<http://purl.org/linked-data/cube#DataStructureDefinition> a rdfs:Class .

<http://purl.org/linked-data/cube#AttributeProperty> a rdfs:Class .

<http://purl.org/linked-data/cube#observation> a rdf:Property ;
  rdfs:range <https://w3id.org/linkml/Any> .

payment:ExpenditureCategory a rdfs:Class ;
  rdfs:label "Expenditure categories"@en ;
  rdfs:comment "The set of expenditure categories in the expenditure-category scheme for capital/revenue."@en ;
  rdfs:seeAlso <http://www.hmrc.gov.uk/manuals/bimmanual/bim35010.htm> ;
  rdfs:subClassOf <http://www.w3.org/2004/02/skos/core#Concept> .

payment:capital a payment:ExpenditureCategory ;
  rdfs:label "Capital"@en ;
  rdfs:comment "Indicates a capital expenditure."@en ;
  rdfs:seeAlso <http://www.hmrc.gov.uk/manuals/bimmanual/bim35010.htm> .

payment:revenue a payment:ExpenditureCategory ;
  rdfs:label "Revenue"@en ;
  rdfs:comment "Indicates a revenue expenditure."@en ;
  rdfs:seeAlso <http://www.hmrc.gov.uk/manuals/bimmanual/bim35010.htm> .
