Schema: robos:RemoteExecutionCluster
Formal W3C SHACL constraint shape and OSLC JSON-LD specification for robos:RemoteExecutionCluster in the devops 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:RemoteExecutionCluster - Aliases / Target Classes:
robos:RemoteExecutionCluster,robos:RemoteBuildCluster - SHACL Shape ID:
urn:robos:shape:RemoteExecutionClusterShape - Governing Package: DevOps & Cloud (robos.devops) (
devops) - Namespace:
robos.devops - Schema.org Classification: https://schema.org/ComputerPlatform
- Domain De Facto Standard: https://github.com/bazelbuild/remote-apis
- Upstream Schema Basis (Refers From): https://schema.org/ComputerPlatform
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/ComputerPlatform (100% interoperability with search engines, web indexers, and general AI reasoning)
- Specialized Domain Standard: https://github.com/bazelbuild/remote-apis (de facto standard for domain-specific ALM, BDD, or infrastructure operations)
- Canonical Reference: https://schema.org/ComputerPlatform
- Agent Guidelines: When autonomous agents generate, expand, or validate instances of
robos:RemoteExecutionCluster, 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
Remote Execution Cluster robos:RemoteExecutionCluster
Governed by W3C SHACL shape urn:robos:shape:RemoteExecutionClusterShape within the DevOps & Cloud (robos.devops) (robos.devops) package store.
dcterms:title robos:protocol robos:provider robos:executionEndpoint robos:casEndpoint Property Constraints & SHACL Rules
| Property Path | Name | Multiplicity | Data Type | Constraint Rule / Validation Message |
|---|---|---|---|---|
dcterms:title | Title / Display Name | 1..* | xsd:string | Remote Execution Cluster must have a title. |
robos:protocol | Protocol / Standard | 1..* | xsd:string | Remote Execution Cluster must declare protocol standard (e.g. REAPI_v2). |
robos:provider | Backend Provider | 1..* | xsd:string | Remote Execution Cluster must declare backend provider engine (e.g. buildbarn, nativelink, buildgrid). |
robos:executionEndpoint | Execution Endpoint | 1..* | xsd:anyURI | Remote Execution Cluster must specify execution endpoint URI. |
robos:casEndpoint | CAS Endpoint | 1..* | xsd:anyURI | Remote Execution Cluster must specify Content Addressable Storage (CAS) endpoint URI. |
Canonical OSLC JSON-LD Example
{
"@id": "urn:robos:remote-execution:acme-buildbarn-cluster",
"@type": [
"robos:RemoteExecutionCluster",
"robos:RemoteBuildCluster",
"oslc:Resource",
"schema:ComputerPlatform"
],
"dcterms:title": "Acme Production Buildbarn REAPI Cluster",
"dcterms:description": "High-performance distributed remote execution & CAS caching cluster using Buildbarn suite.",
"robos:protocol": "REAPI_v2",
"robos:provider": "buildbarn",
"robos:instanceName": "main",
"robos:executionEndpoint": "grpc://re-execution.buildbarn.internal:8980",
"robos:casEndpoint": "grpc://re-cas.buildbarn.internal:8980",
"robos:actionCacheEndpoint": "grpc://re-cas.buildbarn.internal:8980",
"robos:browserEndpoint": "http://re-browser.buildbarn.internal:7984",
"robos:tlsEnabled": false,
"robos:status": "active",
"robos:workerPools": [
{
"name": "linux-x86_64-large",
"osFamily": "linux",
"isa": "x86-64",
"containerImage": "docker://gcr.io/cloud-marketplace/google/debian11:latest",
"concurrency": 64
}
],
"robos:cacheSettings": {
"maxSizeBytes": "500GB",
"retentionDays": 14,
"evictionPolicy": "lru"
},
"robos:package": "devops",
"robos:namespace": "robos.devops",
"robos:schemaOrgType": "https://schema.org/ComputerPlatform",
"robos:domainStandard": "https://github.com/bazelbuild/remote-apis"
}
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:remote-execution:acme-buildbarn-cluster",
"@type": [
"robos:RemoteExecutionCluster",
"robos:RemoteBuildCluster",
"oslc:Resource",
"schema:ComputerPlatform"
],
"dcterms:title": "Acme Production Buildbarn REAPI Cluster",
"dcterms:description": "High-performance distributed remote execution & CAS caching cluster using Buildbarn suite.",
"robos:protocol": "REAPI_v2",
"robos:provider": "buildbarn",
"robos:instanceName": "main",
"robos:executionEndpoint": "grpc://re-execution.buildbarn.internal:8980",
"robos:casEndpoint": "grpc://re-cas.buildbarn.internal:8980",
"robos:actionCacheEndpoint": "grpc://re-cas.buildbarn.internal:8980",
"robos:browserEndpoint": "http://re-browser.buildbarn.internal:7984",
"robos:tlsEnabled": false,
"robos:status": "active",
"robos:workerPools": [
{
"name": "linux-x86_64-large",
"osFamily": "linux",
"isa": "x86-64",
"containerImage": "docker://gcr.io/cloud-marketplace/google/debian11:latest",
"concurrency": 64
}
],
"robos:cacheSettings": {
"maxSizeBytes": "500GB",
"retentionDays": 14,
"evictionPolicy": "lru"
},
"robos:package": "devops",
"robos:namespace": "robos.devops",
"robos:schemaOrgType": "https://schema.org/ComputerPlatform",
"robos:domainStandard": "https://github.com/bazelbuild/remote-apis"
}
],
}));
console.log("Conforms:", result.conforms); // Expected: true