Schema: robos:CertificateOfCompletion
Formal W3C SHACL constraint shape and OSLC JSON-LD specification for robos:CertificateOfCompletion in the learning 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:CertificateOfCompletion - Aliases / Target Classes:
robos:CertificateOfCompletion - SHACL Shape ID:
urn:robos:shape:CertificateOfCompletionShape - Governing Package: eLearning Curriculums (robos.learning) (
learning) - Namespace:
robos.learning - Schema.org Classification: https://schema.org/EducationalOccupationalCredential
- Domain De Facto Standard: https://schema.org/EducationalOccupationalCredential
- Upstream Schema Basis (Refers From): https://schema.org/EducationalOccupationalCredential
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/EducationalOccupationalCredential (100% interoperability with search engines, web indexers, and general AI reasoning)
- Specialized Domain Standard: https://schema.org/EducationalOccupationalCredential (de facto standard for domain-specific ALM, BDD, or infrastructure operations)
- Canonical Reference: https://schema.org/EducationalOccupationalCredential
- Agent Guidelines: When autonomous agents generate, expand, or validate instances of
robos:CertificateOfCompletion, 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
Certificate Of Completion robos:CertificateOfCompletion
Governed by W3C SHACL shape urn:robos:shape:CertificateOfCompletionShape within the eLearning Curriculums (robos.learning) (robos.learning) package store.
dcterms:title robos:recipientUser robos:forCourse robos:issueDate robos:scorePercentage RobOS classification: Learning & assessment. 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 | Certificate of Completion must have a title. |
robos:recipientUser | recipientUser | 1..* | xsd:string | Learning & assessment | Certificate of Completion must specify the recipient user. |
robos:forCourse | forCourse | 1..* | xsd:string | Learning & assessment | Certificate of Completion must link to the completed course (robos:forCourse). |
robos:issueDate | issueDate | 1..* | xsd:string | Learning & assessment | Certificate of Completion must declare an issuance date. |
robos:scorePercentage | scorePercentage | 1..* | xsd:string | Learning & assessment | Certificate of Completion must record the final score percentage. |
Canonical OSLC JSON-LD Example
{
"@id": "urn:robos:learning:certificate-of-completion-sample",
"@type": [
"robos:CertificateOfCompletion",
"schema:EducationalOccupationalCredential",
"oslc:Resource"
],
"dcterms:title": "Sample Certificate Of Completion",
"dcterms:description": "Canonical reference instance for robos:CertificateOfCompletion.",
"robos:package": "learning",
"robos:namespace": "robos.learning",
"robos:schemaOrgType": "https://schema.org/EducationalOccupationalCredential",
"robos:domainStandard": "https://schema.org/EducationalOccupationalCredential",
"robos:refersFrom": "https://schema.org/EducationalOccupationalCredential"
}
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:learning:certificate-of-completion-sample",
"@type": [
"robos:CertificateOfCompletion",
"schema:EducationalOccupationalCredential",
"oslc:Resource"
],
"dcterms:title": "Sample Certificate Of Completion",
"dcterms:description": "Canonical reference instance for robos:CertificateOfCompletion.",
"robos:package": "learning",
"robos:namespace": "robos.learning",
"robos:schemaOrgType": "https://schema.org/EducationalOccupationalCredential",
"robos:domainStandard": "https://schema.org/EducationalOccupationalCredential",
"robos:refersFrom": "https://schema.org/EducationalOccupationalCredential"
}
],
}));
console.log("Conforms:", result.conforms); // Expected: true