PREFIX agritrust: <https://w3id.org/agrisemantics/AGRITRUST/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

<https://www.w3.org/TR/prov-o#Agent> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/TR/prov-o#Agent> .

<https://www.w3.org/TR/prov-o#Activity> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/TR/prov-o#Activity> .

<https://www.w3.org/TR/prov-o#Location> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/TR/prov-o#Location> .

agritrust:CrossChainReference a sh:NodeShape ;
  rdfs:comment "A reference linking entities across different blockchain providers." ;
  sh:closed false ;
  sh:targetClass agritrust:CrossChainReference .

agritrust:DataContract a sh:NodeShape ;
  rdfs:comment "A machine-readable agreement governing data sharing terms and conditions." ;
  sh:closed false ;
  sh:property [
    sh:name "covers observation" ;
    sh:description "Specifies which observations are governed by this data contract." ;
    sh:path agritrust:coversObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "valid until" ;
    sh:description "The end date and time of the contract's validity." ;
    sh:path agritrust:validUntil ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "registered on blockchain" ;
    sh:description "Links an entity to the blockchain provider where it is registered." ;
    sh:path agritrust:registeredOnBlockchain ;
    sh:class agritrust:BlockchainProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "blockchain transaction ID" ;
    sh:description "The transaction identifier on the specific blockchain." ;
    sh:path agritrust:blockchainTransactionId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "valid from" ;
    sh:description "The start date and time of the contract's validity." ;
    sh:path agritrust:validFrom ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 4
  ] , [
    sh:name "has policy assignee" ;
    sh:description "Identifies the Agent (e.g., a DataConsumer) to whom the contract's permissions are assigned." ;
    sh:path agritrust:hasPolicyAssignee ;
    sh:class agritrust:Agent ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 5
  ] , [
    sh:name "purpose" ;
    sh:description "The intended use of the data as specified in the contract." ;
    sh:path agritrust:purpose ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 6
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 7
  ] , [
    sh:name "covers asset" ;
    sh:description "Specifies which asset is governed by this data contract." ;
    sh:path agritrust:coversAsset ;
    sh:class agritrust:Asset ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 8
  ] , [
    sh:name "has ODRL policy" ;
    sh:description "Links an AgriTrust Data Contract to its formal, executable ODRL policy representation." ;
    sh:path agritrust:hasODRLPolicy ;
    sh:class agritrust:ODRLPolicy ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 9
  ] ;
  sh:targetClass agritrust:DataContract .

<http://qudt.org/schema/qudt/Unit> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://qudt.org/schema/qudt/Unit> .

agritrust:PlatformProvider a sh:NodeShape ;
  rdfs:comment "Entity providing technical infrastructure for tokenization and data sharing." ;
  sh:closed false ;
  sh:property [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass agritrust:PlatformProvider .

agritrust:Document a sh:NodeShape ;
  rdfs:comment "A representation of recorded information." ;
  sh:closed false ;
  sh:targetClass agritrust:Document .

sh:NodeShape a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass sh:NodeShape .

agritrust:Location a sh:NodeShape ;
  rdfs:comment "A physical location where agricultural activities occur." ;
  sh:closed false ;
  sh:property [
    sh:name "has geometry" ;
    sh:description "Links a location to its spatial representation." ;
    sh:path agritrust:hasGeometry ;
    sh:class <http://www.opengis.net/ont/geosparql#Geometry> ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has observation" ;
    sh:description "Links entities to relevant observations." ;
    sh:path agritrust:hasObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass agritrust:Location .

<http://www.opengis.net/ont/geosparql#Geometry> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://www.opengis.net/ont/geosparql#Geometry> .

<http://www.w3.org/ns/dcat#Dataset> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://www.w3.org/ns/dcat#Dataset> .

<https://www.w3.org/TR/vocab-ssn-2023#Collection> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/TR/vocab-ssn-2023#Collection> .

agritrust:Dataset a sh:NodeShape ;
  rdfs:comment "A collection of observations or derived data." ;
  sh:closed false ;
  sh:property [
    sh:name "has observation" ;
    sh:description "Links entities to relevant observations." ;
    sh:path agritrust:hasObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass agritrust:Dataset .

agritrust:CrossChainToken a sh:NodeShape ;
  rdfs:comment "A token that can be referenced across multiple blockchain providers." ;
  sh:closed false ;
  sh:property [
    sh:name "unique identifier" ;
    sh:path agritrust:uniqueId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "registered on blockchain" ;
    sh:description "Links an entity to the blockchain provider where it is registered." ;
    sh:path agritrust:registeredOnBlockchain ;
    sh:class agritrust:BlockchainProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "blockchain transaction ID" ;
    sh:description "The transaction identifier on the specific blockchain." ;
    sh:path agritrust:blockchainTransactionId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] , [
    sh:name "governed by" ;
    sh:description "Links a token to the data contract governing its use." ;
    sh:path agritrust:governedBy ;
    sh:class agritrust:DataContract ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 5
  ] , [
    sh:name "represents" ;
    sh:description "Links a token to the asset it digitally represents." ;
    sh:path agritrust:represents ;
    sh:class agritrust:Asset ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 6
  ] , [
    sh:name "has cross-chain reference" ;
    sh:description "Links an entity to its references on other blockchain providers." ;
    sh:path agritrust:hasCrossChainReference ;
    sh:class agritrust:CrossChainReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 7
  ] ;
  sh:targetClass agritrust:CrossChainToken .

<https://www.w3.org/TR/prov-o#Entity> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/TR/prov-o#Entity> .

agritrust:GovernanceAuthority a sh:NodeShape ;
  rdfs:comment "Entity responsible for maintaining ontology standards and cross-provider interoperability." ;
  sh:closed false ;
  sh:property [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass agritrust:GovernanceAuthority .

agritrust:Observation a sh:NodeShape ;
  rdfs:comment "An act of sensing or measuring to produce a result." ;
  sh:closed false ;
  sh:property [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "observation value" ;
    sh:description "The value of the observation (platforms can specialize datatypes)." ;
    sh:path agritrust:observationValue ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "observation date" ;
    sh:path agritrust:observationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] , [
    sh:name "observation unit" ;
    sh:path agritrust:observationUnit ;
    sh:class <http://qudt.org/schema/qudt/Unit> ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 3
  ] ;
  sh:targetClass agritrust:Observation .

agritrust:DataConsumer a sh:NodeShape ;
  rdfs:comment "Entity that uses data under specific terms for verification or analysis." ;
  sh:closed false ;
  sh:property [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass agritrust:DataConsumer .

<https://www.w3.org/TR/vocab-ssn-2023#Observation> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/TR/vocab-ssn-2023#Observation> .

<http://www.w3.org/ns/dcat#Resource> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://www.w3.org/ns/dcat#Resource> .

agritrust:Asset a sh:NodeShape ;
  rdfs:comment "A physical or digital asset that can be tokenized and tracked." ;
  sh:closed false ;
  sh:property [
    sh:name "has observation" ;
    sh:description "Links entities to relevant observations." ;
    sh:path agritrust:hasObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has cross-chain reference" ;
    sh:description "Links an entity to its references on other blockchain providers." ;
    sh:path agritrust:hasCrossChainReference ;
    sh:class agritrust:CrossChainReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "has provenance" ;
    sh:description "Links an asset to its creation/transformation processes." ;
    sh:path agritrust:hasProvenance ;
    sh:class agritrust:Process ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] , [
    sh:name "has efficiency metric" ;
    sh:description "Links entities to platform-defined efficiency metrics." ;
    sh:path agritrust:hasEfficiencyMetric ;
    sh:class agritrust:EfficiencyMetric ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 5
  ] , [
    sh:name "has certificate" ;
    sh:description "Associates an asset with its verification certificate." ;
    sh:path agritrust:hasCertificate ;
    sh:class agritrust:Certificate ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 6
  ] , [
    sh:name "unique identifier" ;
    sh:path agritrust:uniqueId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 7
  ] , [
    sh:name "owned by" ;
    sh:description "Links an asset to its owner (data sovereignty)." ;
    sh:path agritrust:ownedBy ;
    sh:class agritrust:DataProducer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 8
  ] ;
  sh:targetClass agritrust:Asset .

agritrust:DataProducer a sh:NodeShape ;
  rdfs:comment "Entity that originates agricultural data and assets." ;
  sh:closed false ;
  sh:property [
    sh:name "has efficiency metric" ;
    sh:description "Links entities to platform-defined efficiency metrics." ;
    sh:path agritrust:hasEfficiencyMetric ;
    sh:class agritrust:EfficiencyMetric ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass agritrust:DataProducer .

agritrust:Certifier a sh:NodeShape ;
  rdfs:comment "Entity responsible for auditing and issuing compliance certificates." ;
  sh:closed false ;
  sh:property [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass agritrust:Certifier .

agritrust:ODRLPolicy a sh:NodeShape ;
  rdfs:comment "A machine-executable policy expressing permissions, prohibitions, and duties using the ODRL vocabulary." ;
  sh:closed false ;
  sh:targetClass agritrust:ODRLPolicy .

agritrust:BlockchainProvider a sh:NodeShape ;
  rdfs:comment "Entity providing blockchain infrastructure for the ecosystem." ;
  sh:closed false ;
  sh:property [
    sh:name "blockchain name" ;
    sh:description "The name of the blockchain implementation." ;
    sh:path agritrust:blockchainName ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "consensus mechanism" ;
    sh:description "The consensus algorithm used by the blockchain." ;
    sh:path agritrust:consensusMechanism ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] ;
  sh:targetClass agritrust:BlockchainProvider .

agritrust:EfficiencyMetric a sh:NodeShape ;
  rdfs:comment "A platform-defined metric for measuring operational efficiency." ;
  sh:closed false ;
  sh:property [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "metric name" ;
    sh:path agritrust:metricName ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "metric value" ;
    sh:description "The calculated value of the efficiency metric." ;
    sh:path agritrust:metricValue ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] ;
  sh:targetClass agritrust:EfficiencyMetric .

agritrust:CollectiveAsset a sh:NodeShape ;
  rdfs:comment "An asset tracked as a batch or collective (e.g., grain, coffee)." ;
  sh:closed false ;
  sh:property [
    sh:name "has observation" ;
    sh:description "Links entities to relevant observations." ;
    sh:path agritrust:hasObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has cross-chain reference" ;
    sh:description "Links an entity to its references on other blockchain providers." ;
    sh:path agritrust:hasCrossChainReference ;
    sh:class agritrust:CrossChainReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "has provenance" ;
    sh:description "Links an asset to its creation/transformation processes." ;
    sh:path agritrust:hasProvenance ;
    sh:class agritrust:Process ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] , [
    sh:name "has efficiency metric" ;
    sh:description "Links entities to platform-defined efficiency metrics." ;
    sh:path agritrust:hasEfficiencyMetric ;
    sh:class agritrust:EfficiencyMetric ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 5
  ] , [
    sh:name "has certificate" ;
    sh:description "Associates an asset with its verification certificate." ;
    sh:path agritrust:hasCertificate ;
    sh:class agritrust:Certificate ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 6
  ] , [
    sh:name "unique identifier" ;
    sh:path agritrust:uniqueId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 7
  ] , [
    sh:name "owned by" ;
    sh:description "Links an asset to its owner (data sovereignty)." ;
    sh:path agritrust:ownedBy ;
    sh:class agritrust:DataProducer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 8
  ] ;
  sh:targetClass agritrust:CollectiveAsset .

agritrust:Agent a sh:NodeShape ;
  rdfs:comment "An entity participating in the agricultural ecosystem." ;
  sh:closed false ;
  sh:property [
    sh:name "has operating location" ;
    sh:description "Links an Agent (e.g., a DataProducer) to a Location where it primarily operates." ;
    sh:path agritrust:hasOperatingLocation ;
    sh:class agritrust:Location ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass agritrust:Agent .

agritrust:IndividualAsset a sh:NodeShape ;
  rdfs:comment "An asset tracked as an individual unit (e.g., livestock)." ;
  sh:closed false ;
  sh:property [
    sh:name "has observation" ;
    sh:description "Links entities to relevant observations." ;
    sh:path agritrust:hasObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has cross-chain reference" ;
    sh:description "Links an entity to its references on other blockchain providers." ;
    sh:path agritrust:hasCrossChainReference ;
    sh:class agritrust:CrossChainReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "has provenance" ;
    sh:description "Links an asset to its creation/transformation processes." ;
    sh:path agritrust:hasProvenance ;
    sh:class agritrust:Process ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] , [
    sh:name "has efficiency metric" ;
    sh:description "Links entities to platform-defined efficiency metrics." ;
    sh:path agritrust:hasEfficiencyMetric ;
    sh:class agritrust:EfficiencyMetric ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 5
  ] , [
    sh:name "has certificate" ;
    sh:description "Associates an asset with its verification certificate." ;
    sh:path agritrust:hasCertificate ;
    sh:class agritrust:Certificate ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 6
  ] , [
    sh:name "unique identifier" ;
    sh:path agritrust:uniqueId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 7
  ] , [
    sh:name "owned by" ;
    sh:description "Links an asset to its owner (data sovereignty)." ;
    sh:path agritrust:ownedBy ;
    sh:class agritrust:DataProducer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 8
  ] ;
  sh:targetClass agritrust:IndividualAsset .

<https://www.w3.org/2018/credentials#VerifiableCredential> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://www.w3.org/2018/credentials#VerifiableCredential> .

agritrust:Token a sh:NodeShape ;
  rdfs:comment "A digital representation of a physical asset or data within the governed ecosystem." ;
  sh:closed false ;
  sh:property [
    sh:name "unique identifier" ;
    sh:path agritrust:uniqueId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "registered on blockchain" ;
    sh:description "Links an entity to the blockchain provider where it is registered." ;
    sh:path agritrust:registeredOnBlockchain ;
    sh:class agritrust:BlockchainProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "blockchain transaction ID" ;
    sh:description "The transaction identifier on the specific blockchain." ;
    sh:path agritrust:blockchainTransactionId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] , [
    sh:name "governed by" ;
    sh:description "Links a token to the data contract governing its use." ;
    sh:path agritrust:governedBy ;
    sh:class agritrust:DataContract ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 5
  ] , [
    sh:name "represents" ;
    sh:description "Links a token to the asset it digitally represents." ;
    sh:path agritrust:represents ;
    sh:class agritrust:Asset ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 6
  ] , [
    sh:name "has cross-chain reference" ;
    sh:description "Links an entity to its references on other blockchain providers." ;
    sh:path agritrust:hasCrossChainReference ;
    sh:class agritrust:CrossChainReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 7
  ] ;
  sh:targetClass agritrust:Token .

agritrust:Certificate a sh:NodeShape ;
  rdfs:comment "A verifiable credential attesting to compliance or quality standards." ;
  sh:closed false ;
  sh:property [
    sh:name "standard" ;
    sh:description "The compliance standard or certification scheme." ;
    sh:path agritrust:standard ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "certified by" ;
    sh:description "Links a certificate to the certifying entity." ;
    sh:path agritrust:certifiedBy ;
    sh:class agritrust:Certifier ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "issuance date" ;
    sh:description "The date and time when the credential was issued. Essential for W3C VC compliance." ;
    sh:path agritrust:issuanceDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] , [
    sh:name "issuer (DID)" ;
    sh:description "The Decentralized Identifier (DID) of the credential issuer. Essential for W3C VC compliance." ;
    sh:path agritrust:issuer ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "has cross-chain reference" ;
    sh:description "Links an entity to its references on other blockchain providers." ;
    sh:path agritrust:hasCrossChainReference ;
    sh:class agritrust:CrossChainReference ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] , [
    sh:name "creation date" ;
    sh:path agritrust:creationDate ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 5
  ] , [
    sh:name "registered on blockchain" ;
    sh:description "Links an entity to the blockchain provider where it is registered." ;
    sh:path agritrust:registeredOnBlockchain ;
    sh:class agritrust:BlockchainProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 6
  ] , [
    sh:name "blockchain transaction ID" ;
    sh:description "The transaction identifier on the specific blockchain." ;
    sh:path agritrust:blockchainTransactionId ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 7
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 8
  ] , [
    sh:name "cryptographic proof" ;
    sh:description "The cryptographic signature or proof of the credential (e.g., JWT, Linked Data Proof). Essential for W3C VC verification." ;
    sh:path agritrust:proof ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 9
  ] ;
  sh:targetClass agritrust:Certificate .

<http://www.w3.org/ns/dcat#Agent> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <http://www.w3.org/ns/dcat#Agent> .

agritrust:Process a sh:NodeShape ;
  rdfs:comment "An activity or operation that transforms or handles assets." ;
  sh:closed false ;
  sh:property [
    sh:name "has observation" ;
    sh:description "Links entities to relevant observations." ;
    sh:path agritrust:hasObservation ;
    sh:class agritrust:Observation ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has output" ;
    sh:description "Asset produced by a process." ;
    sh:path agritrust:hasOutput ;
    sh:class agritrust:Asset ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "has input" ;
    sh:description "Asset consumed by a process." ;
    sh:path agritrust:hasInput ;
    sh:class agritrust:Asset ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "managed by platform" ;
    sh:description "Links entities to their managing platform provider." ;
    sh:path agritrust:managedByPlatform ;
    sh:class agritrust:PlatformProvider ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 3
  ] , [
    sh:name "has efficiency metric" ;
    sh:description "Links entities to platform-defined efficiency metrics." ;
    sh:path agritrust:hasEfficiencyMetric ;
    sh:class agritrust:EfficiencyMetric ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 4
  ] ;
  sh:targetClass agritrust:Process .
