Schema Evolution · JSON-LD Context

Schema Evolution Context

JSON-LD context defining the semantic vocabulary for Schema Evolution from Schema Evolution.

0 Classes 17 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
rdfs: http://www.w3.org/2000/01/rdf-schema#
se: https://api-evangelist.github.io/schema-evolution/vocab#

Properties

Property Type Container
SchemaChange rdfs:Class
SchemaVersion rdfs:Class
CompatibilityRule rdfs:Class
schemaName string
fromVersion string
toVersion string
changeType string
compatibilityImpact string
fieldPath string
migrationRequired boolean
migrationScript string
date date
author string
backwardCompatible
forwardCompatible
fullyCompatible
breakingChange

JSON-LD Document

schema-evolution-context.jsonld Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "se": "https://api-evangelist.github.io/schema-evolution/vocab#",

    "SchemaChange": {
      "@id": "se:SchemaChange",
      "@type": "rdfs:Class",
      "rdfs:comment": "A versioned change to a data schema"
    },
    "SchemaVersion": {
      "@id": "se:SchemaVersion",
      "@type": "rdfs:Class",
      "rdfs:comment": "A specific version of a schema definition"
    },
    "CompatibilityRule": {
      "@id": "se:CompatibilityRule",
      "@type": "rdfs:Class",
      "rdfs:comment": "A rule governing which schema changes are permitted"
    },

    "schemaName": {
      "@id": "schema:name",
      "@type": "xsd:string"
    },
    "fromVersion": {
      "@id": "se:fromVersion",
      "@type": "xsd:string"
    },
    "toVersion": {
      "@id": "se:toVersion",
      "@type": "xsd:string"
    },
    "changeType": {
      "@id": "se:changeType",
      "@type": "xsd:string"
    },
    "compatibilityImpact": {
      "@id": "se:compatibilityImpact",
      "@type": "xsd:string"
    },
    "fieldPath": {
      "@id": "se:fieldPath",
      "@type": "xsd:string"
    },
    "migrationRequired": {
      "@id": "se:migrationRequired",
      "@type": "xsd:boolean"
    },
    "migrationScript": {
      "@id": "se:migrationScript",
      "@type": "xsd:string"
    },
    "date": {
      "@id": "schema:dateModified",
      "@type": "xsd:date"
    },
    "author": {
      "@id": "schema:author",
      "@type": "xsd:string"
    },
    "backwardCompatible": {
      "@id": "se:BackwardCompatible",
      "rdfs:comment": "New schema can read data written with old schema"
    },
    "forwardCompatible": {
      "@id": "se:ForwardCompatible",
      "rdfs:comment": "Old schema can read data written with new schema"
    },
    "fullyCompatible": {
      "@id": "se:FullyCompatible",
      "rdfs:comment": "Both backward and forward compatible"
    },
    "breakingChange": {
      "@id": "se:BreakingChange",
      "rdfs:comment": "Schema change that breaks compatibility"
    }
  }
}