Schema: robos:BrokerDefinition
Formal W3C SHACL constraint shape and OSLC JSON-LD specification for robos:BrokerDefinition in the core-platform package store.
Table of contents
- Specification Metadata
- Upstream Schema Basis (Refers From) & Global Standards Provenance
- Entity Relationship & Schema Context
- Property Constraints & SHACL Rules
- Canonical OSLC JSON-LD Example
- Programmatic SHACL Validation
Specification Metadata
- RDF / OWL Class:
robos:BrokerDefinition - Aliases / Target Classes:
robos:BrokerDefinition - SHACL Shape ID:
robos:BrokerDefinitionShape - Governing Package: Core Platform (robos.core) (
core-platform) - Namespace:
robos.platform - Schema.org Classification: https://schema.org/Service
- Domain De Facto Standard: https://schema.org/Service
- Upstream Schema Basis (Refers From): https://schema.org/Service
Upstream Schema Basis (Refers From) & Global Standards Provenance
This RobOS schema is modeled after and directly aligns with two levels of global standards:
- Universal Schema.org Class: https://schema.org/Service (100% interoperability with search engines, web indexers, and general AI reasoning)
- Specialized Domain Standard: https://schema.org/Service (de facto standard for domain-specific ALM, BDD, or infrastructure operations)
- Canonical Reference: https://schema.org/Service
- Agent Guidelines: When autonomous agents generate, expand, or validate instances of
robos:BrokerDefinition, they MUST adhere to and base their output on this referred schema object and universal Schema.org parent class, extending it with RobOS SDLC properties.
Entity Relationship & Schema Context
Broker Definition robos:BrokerDefinition
Governed by W3C SHACL shape robos:BrokerDefinitionShape within the Core Platform (robos.core) (robos.platform) package store.
dcterms:title robos:brokerType robos:evidence RobOS classification: Data stores & messaging. These RobOS-owned codes use Schema.org CategoryCode vocabulary.
Property Constraints & SHACL Rules
| Property Path | Name | Multiplicity | Data Type | Classification | Constraint Rule / Validation Message |
|---|---|---|---|---|---|
dcterms:title | Title / Display Name | 1..* | xsd:string | Services & processing, Applications & entry points, Contracts & data models, Data stores & messaging, Libraries & build systems, Infrastructure & delivery, Organization & people, Projects & work items, Source control & artifacts, Agents & MCP, Documentation & decisions, Learning & assessment, Testing & behavior | Broker definition needs a title. |
robos:brokerType | brokerType | 1..* | xsd:string | Data stores & messaging | Broker definition needs its technology. |
robos:evidence | evidence | 1..* | xsd:string | Data stores & messaging, Infrastructure & delivery, Source control & artifacts, Agents & MCP, Learning & assessment | Broker definition needs source evidence. |
Canonical OSLC JSON-LD Example
{
"@id": "urn:robos:core-platform:broker-definition-sample",
"@type": [
"robos:BrokerDefinition",
"schema:Service",
"oslc:Resource"
],
"dcterms:title": "Sample Broker Definition",
"dcterms:description": "Canonical reference instance for robos:BrokerDefinition.",
"robos:package": "core-platform",
"robos:namespace": "robos.platform",
"robos:schemaOrgType": "https://schema.org/Service",
"robos:domainStandard": "https://schema.org/Service",
"robos:refersFrom": "https://schema.org/Service"
}
Programmatic SHACL Validation
const { SHACLValidator } = require('/usr/local/share/robos/robos-graph/lib/shacl-validator');
const { OSLCGraphParser, OSLC_CONTEXT } = require('/usr/local/share/robos/robos-graph/lib/oslc-parser');
const validator = new SHACLValidator();
const result = validator.validateGraph(new OSLCGraphParser({
"@context": OSLC_CONTEXT,
"robos:nodes": [
{
"@id": "urn:robos:core-platform:broker-definition-sample",
"@type": [
"robos:BrokerDefinition",
"schema:Service",
"oslc:Resource"
],
"dcterms:title": "Sample Broker Definition",
"dcterms:description": "Canonical reference instance for robos:BrokerDefinition.",
"robos:package": "core-platform",
"robos:namespace": "robos.platform",
"robos:schemaOrgType": "https://schema.org/Service",
"robos:domainStandard": "https://schema.org/Service",
"robos:refersFrom": "https://schema.org/Service"
}
],
}));
console.log("Conforms:", result.conforms); // Expected: true