Relational Data Modeling · JSON-LD Context

Relational Data Modeling Context

JSON-LD context defining the semantic vocabulary for Relational Data Modeling from Relational Data Modeling.

0 Classes 19 Properties 3 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
rdm: https://api-evangelist.github.io/relational-data-modeling/vocab/

Properties

Property Type Container
Entity reference
Attribute reference
ForeignKey reference
Relationship reference
Schema reference
name
description
dataType
nullable boolean
unique boolean
isPrimaryKey boolean
primaryKey set
foreignKeys set
attributes set
referencedEntity
referencedColumns set
normalForm
onDelete
onUpdate

JSON-LD Document

relational-data-modeling-context.jsonld Raw ↑
{
  "@context": {
    "@version": 1.1,
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "rdm": "https://api-evangelist.github.io/relational-data-modeling/vocab/",
    "Entity": {
      "@id": "rdm:Entity",
      "@type": "@id"
    },
    "Attribute": {
      "@id": "rdm:Attribute",
      "@type": "@id"
    },
    "ForeignKey": {
      "@id": "rdm:ForeignKey",
      "@type": "@id"
    },
    "Relationship": {
      "@id": "rdm:Relationship",
      "@type": "@id"
    },
    "Schema": {
      "@id": "rdm:Schema",
      "@type": "@id"
    },
    "name": {
      "@id": "schema:name"
    },
    "description": {
      "@id": "schema:description"
    },
    "dataType": {
      "@id": "rdm:dataType"
    },
    "nullable": {
      "@id": "rdm:nullable",
      "@type": "xsd:boolean"
    },
    "unique": {
      "@id": "rdm:unique",
      "@type": "xsd:boolean"
    },
    "isPrimaryKey": {
      "@id": "rdm:isPrimaryKey",
      "@type": "xsd:boolean"
    },
    "primaryKey": {
      "@id": "rdm:primaryKey",
      "@container": "@set"
    },
    "foreignKeys": {
      "@id": "rdm:hasForeignKey",
      "@container": "@set"
    },
    "attributes": {
      "@id": "rdm:hasAttribute",
      "@container": "@set"
    },
    "referencedEntity": {
      "@id": "rdm:referencedEntity"
    },
    "referencedColumns": {
      "@id": "rdm:referencedColumns",
      "@container": "@set"
    },
    "normalForm": {
      "@id": "rdm:normalForm"
    },
    "onDelete": {
      "@id": "rdm:onDelete"
    },
    "onUpdate": {
      "@id": "rdm:onUpdate"
    }
  }
}