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#>
PREFIX ys: <https://w3id.org/yang/server#>

ys:Datastore a sh:NodeShape ;
  rdfs:comment "A conceptual place to store and access information. A datastore might be implemented, for example, using files, a database, flash memory locations, or combinations thereof. A datastore maps to an instantiated YANG data tree." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:Datastore .

ys:NetconfQuerySource a sh:NodeShape ;
  rdfs:comment "Represents a NETCONF query operation in RML mappings." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass ys:NetconfQuerySource .

<http://xmlns.com/foaf/0.1/OnlineAccount> a sh:NodeShape ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass <http://xmlns.com/foaf/0.1/OnlineAccount> .

ys:DynamicDatastore a sh:NodeShape ;
  rdfs:comment "A configuration datastore holding configuration obtained dynamically during the operation of a device through interaction with other systems, rather than through one of the conventional configuration datastores." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:DynamicDatastore .

ys:RunningDatastore a sh:NodeShape ;
  rdfs:comment "A configuration datastore holding the current configuration of the device.  It may include configuration that requires further transformations before it can be applied." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:RunningDatastore .

ys:ConventionalDatastore a sh:NodeShape ;
  rdfs:comment "One of the following set of configuration datastores: `<running>`, `<startup>`, `<candidate>`, and `<intended>`.  These datastores share a common datastore schema, and protocol operations allow copying data between these datastores. The term \"conventional\" is chosen as a generic umbrella term for these datastores." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:ConventionalDatastore .

ys:ServerAccount a sh:NodeShape ;
  rdfs:comment "Represents an account used for accessing the YANG server." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "username" ;
    sh:description "Username for accessing the YANG server." ;
    sh:path ys:username ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] ;
  sh:targetClass ys:ServerAccount .

ys:Operation a sh:NodeShape ;
  rdfs:comment "Represents a Operation to a YANG server using the corresponding network management protocol." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "filter" ;
    sh:description "Refers to the YANG filter used when accessing the YANG server using a network management protocol." ;
    sh:path ys:filter ;
    sh:class ys:Filter ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "source datastore" ;
    sh:description "Refers to the YANG datastore of the source YANG server to be selected in the YANG operation." ;
    sh:path ys:sourceDatastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass ys:Operation .

<https://ontology.unifiedcyberontology.org/uco/observable/SocketAddress> a sh:NodeShape ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass <https://ontology.unifiedcyberontology.org/uco/observable/SocketAddress> .

ys:Filter a sh:NodeShape ;
  rdfs:comment "Evaluation criteria that may be applied to fetch data from a given YANG server." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "filter value" ;
    sh:description "Value used by filter to access YANG data of the NETCONF server." ;
    sh:path ys:filterValue ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] ;
  sh:targetClass ys:Filter .

<https://w3id.org/linkml/Any> a sh:NodeShape ;
  rdfs:comment "An unconstrained type or object" ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass <https://w3id.org/linkml/Any> .

ys:XPathFilter a sh:NodeShape ;
  rdfs:comment "Evaluation criteria based on XPath expression." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "namespace" ;
    sh:description "Refers to an XML namespace used in the XPath expression." ;
    sh:path ys:namespace ;
    sh:class ys:Namespace ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "xpath value" ;
    sh:description "XPath expression used to access YANG data of the YANG server." ;
    sh:path ys:xpathValue ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "filter value" ;
    sh:description "Value used by filter to access YANG data of the NETCONF server." ;
    sh:path ys:filterValue ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] ;
  sh:targetClass ys:XPathFilter .

ys:CandidateDatastore a sh:NodeShape ;
  rdfs:comment "A configuration datastore that can be manipulated without impacting the device's running configuration datastore and that can be committed to the running configuration datastore." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:CandidateDatastore .

ys:YangServer a sh:NodeShape ;
  rdfs:comment "An entity that provides access to YANG-defined data to a client, over some network management protocol." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "socket address" ;
    sh:description "Refers to the socket address for connecting to the YANG server." ;
    sh:path ys:socketAddress ;
    sh:class <https://ontology.unifiedcyberontology.org/uco/observable/SocketAddress> ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "datastore" ;
    sh:description "Indicates the YANG datastore used by the YANG server." ;
    sh:path ys:datastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass ys:YangServer .

ys:OnChangeSubscription a sh:NodeShape ;
  rdfs:comment "A datastore subscription with updates that are triggered when changes in subscribed datastore nodes are detected." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "filter" ;
    sh:description "Refers to the YANG filter used when accessing the YANG server using a network management protocol." ;
    sh:path ys:filter ;
    sh:class ys:Filter ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "source datastore" ;
    sh:description "Refers to the YANG datastore of the source YANG server to be selected in the YANG operation." ;
    sh:path ys:sourceDatastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass ys:OnChangeSubscription .

ys:IntendedDatastore a sh:NodeShape ;
  rdfs:comment "A configuration datastore holding the complete intended configuration of the device. This represents the configuration after all configuration transformations to <running> have been performed and is the configuration that the system attempts to apply." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:IntendedDatastore .

ys:Query a sh:NodeShape ;
  rdfs:comment "Represents a query operation to a YANG server using the corresponding network management protocol." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "filter" ;
    sh:description "Refers to the YANG filter used when accessing the YANG server using a network management protocol." ;
    sh:path ys:filter ;
    sh:class ys:Filter ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "source datastore" ;
    sh:description "Refers to the YANG datastore of the source YANG server to be selected in the YANG operation." ;
    sh:path ys:sourceDatastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass ys:Query .

ys:PeriodicSubscription a sh:NodeShape ;
  rdfs:comment "A datastore subscription with updates that are triggered periodically according to some time interval." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "period" ;
    sh:description "Refers to period interval with which to report updates in a periodic subscription." ;
    sh:path ys:period ;
    sh:class ys:Period ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "filter" ;
    sh:description "Refers to the YANG filter used when accessing the YANG server using a network management protocol." ;
    sh:path ys:filter ;
    sh:class ys:Filter ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "source datastore" ;
    sh:description "Refers to the YANG datastore of the source YANG server to be selected in the YANG operation." ;
    sh:path ys:sourceDatastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] ;
  sh:targetClass ys:PeriodicSubscription .

ys:Period a sh:NodeShape ;
  rdfs:comment "Represents the period interval with which to report updates in a periodic subscription." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass ys:Period .

<http://w3id.org/rml/XPathReferenceFormulation> a sh:NodeShape ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass <http://w3id.org/rml/XPathReferenceFormulation> .

ys:NetconfCapability a sh:NodeShape ;
  rdfs:comment "NETCONF capability." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "netconf capability id" ;
    sh:description "Represents the URI that identifies the NETCONF capability." ;
    sh:path ys:netconfCapabilityId ;
    sh:datatype xsd:anyURI ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "netconf capability version" ;
    sh:description "Represents the version of the NETCONF capability." ;
    sh:path ys:netconfCapabilityVersion ;
    sh:datatype xsd:anyURI ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "netconf capability name" ;
    sh:description "Represents the name of the NETCONF capability." ;
    sh:path ys:netconfCapabilityName ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] ;
  sh:targetClass ys:NetconfCapability .

<https://ontology.unifiedcyberontology.org/uco/observable/UserAccount> a sh:NodeShape ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass <https://ontology.unifiedcyberontology.org/uco/observable/UserAccount> .

ys:StartupDatastore a sh:NodeShape ;
  rdfs:comment "A configuration datastore holding the configuration loaded by the device into the running configuration datastore when it boots." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:StartupDatastore .

ys:NetconfServer a sh:NodeShape ;
  rdfs:comment "YANG server that can be managed via the NETCONF protocol." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "capability" ;
    sh:description "Refers to the NETCONF capability supported by the NETCONF server." ;
    sh:path ys:capability ;
    sh:class ys:NetconfCapability ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "host key verification" ;
    sh:description "Indicates whether SSH host key is verified to access the NETCONF server." ;
    sh:path ys:hostKeyVerification ;
    sh:datatype xsd:boolean ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "socket address" ;
    sh:description "Refers to the socket address for connecting to the YANG server." ;
    sh:path ys:socketAddress ;
    sh:class <https://ontology.unifiedcyberontology.org/uco/observable/SocketAddress> ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "datastore" ;
    sh:description "Indicates the YANG datastore used by the YANG server." ;
    sh:path ys:datastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 3
  ] ;
  sh:targetClass ys:NetconfServer .

ys:Namespace a sh:NodeShape ;
  rdfs:comment "Represents an XML namespace used in the XPath expression." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "namespace prefix" ;
    sh:description "Prefix of the XML namespace." ;
    sh:path ys:namespacePrefix ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "namespace url" ;
    sh:description "URL of the XML namespace." ;
    sh:path ys:namespaceURL ;
    sh:datatype xsd:anyURI ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] ;
  sh:targetClass ys:Namespace .

ys:Subscription a sh:NodeShape ;
  rdfs:comment "Represents a subscription operation to a YANG server using the corresponding network management protocol." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "filter" ;
    sh:description "Refers to the YANG filter used when accessing the YANG server using a network management protocol." ;
    sh:path ys:filter ;
    sh:class ys:Filter ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "source datastore" ;
    sh:description "Refers to the YANG datastore of the source YANG server to be selected in the YANG operation." ;
    sh:path ys:sourceDatastore ;
    sh:class ys:Datastore ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] ;
  sh:targetClass ys:Subscription .

ys:SubtreeFilter a sh:NodeShape ;
  rdfs:comment "Evaluation criteria based on XML subtree expression." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "subtree value" ;
    sh:description "XML Subtree filter used to access YANG data of the NETCONF server." ;
    sh:path ys:subtreeValue ;
    sh:datatype rdf:XMLLiteral ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "filter value" ;
    sh:description "Value used by filter to access YANG data of the NETCONF server." ;
    sh:path ys:filterValue ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] ;
  sh:targetClass ys:SubtreeFilter .

ys:OperationalDatastore a sh:NodeShape ;
  rdfs:comment "A datastore holding the complete operational state of the device." ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:property [
    sh:name "server" ;
    sh:description "Refers to the YANG server that runs the YANG datastore." ;
    sh:path ys:server ;
    sh:class ys:YangServer ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] ;
  sh:targetClass ys:OperationalDatastore .

<http://qudt.org/schema/qudt/Unit> a sh:NodeShape ;
  sh:closed false ;
  sh:ignoredProperties ( rdf:type ) ;
  sh:targetClass <http://qudt.org/schema/qudt/Unit> .
