CMiC · JSON-LD Context

Cmic Context

JSON-LD context defining the semantic vocabulary for Cmic from CMiC.

9 Classes 21 Properties 4 Namespaces
View Context View on GitHub

Namespaces

cmic: https://api.cmic.ca/rest/schemas/
schema: https://schema.org/
rdfs: http://www.w3.org/2000/01/rdf-schema#
xsd: http://www.w3.org/2001/XMLSchema#

Classes

projectId projectName description street city state postalCode country vendorName

Properties

Property Type Container
Project schema:Project
Job schema:JobPosting
CostCode
Vendor schema:Organization
Equipment schema:Product
Document schema:DigitalDocument
companyCode
status
projectManager schema:Person
owner schema:Organization
startDate date
endDate date
address schema:PostalAddress
contractAmount decimal
originalBudget decimal
revisedBudget decimal
actualCost decimal
committedCost decimal
percentComplete decimal
taxId
jobs set

JSON-LD Document

Raw ↑
{
  "@context": {
    "@version": 1.1,
    "cmic": "https://api.cmic.ca/rest/schemas/",
    "schema": "https://schema.org/",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "xsd": "http://www.w3.org/2001/XMLSchema#",

    "Project": {
      "@id": "cmic:Project",
      "@type": "schema:Project"
    },
    "Job": {
      "@id": "cmic:Job",
      "@type": "schema:JobPosting"
    },
    "CostCode": {
      "@id": "cmic:CostCode"
    },
    "Vendor": {
      "@id": "cmic:Vendor",
      "@type": "schema:Organization"
    },
    "Equipment": {
      "@id": "cmic:Equipment",
      "@type": "schema:Product"
    },
    "Document": {
      "@id": "cmic:Document",
      "@type": "schema:DigitalDocument"
    },

    "projectId": "@id",
    "projectName": "schema:name",
    "description": "schema:description",
    "companyCode": {
      "@id": "cmic:companyCode"
    },
    "status": {
      "@id": "schema:eventStatus"
    },
    "projectManager": {
      "@id": "schema:employee",
      "@type": "schema:Person"
    },
    "owner": {
      "@id": "schema:client",
      "@type": "schema:Organization"
    },
    "startDate": {
      "@id": "schema:startDate",
      "@type": "xsd:date"
    },
    "endDate": {
      "@id": "schema:endDate",
      "@type": "xsd:date"
    },
    "address": {
      "@id": "schema:address",
      "@type": "schema:PostalAddress"
    },
    "street": "schema:streetAddress",
    "city": "schema:addressLocality",
    "state": "schema:addressRegion",
    "postalCode": "schema:postalCode",
    "country": "schema:addressCountry",
    "contractAmount": {
      "@id": "schema:price",
      "@type": "xsd:decimal"
    },
    "originalBudget": {
      "@id": "cmic:originalBudget",
      "@type": "xsd:decimal"
    },
    "revisedBudget": {
      "@id": "cmic:revisedBudget",
      "@type": "xsd:decimal"
    },
    "actualCost": {
      "@id": "cmic:actualCost",
      "@type": "xsd:decimal"
    },
    "committedCost": {
      "@id": "cmic:committedCost",
      "@type": "xsd:decimal"
    },
    "percentComplete": {
      "@id": "schema:percentComplete",
      "@type": "xsd:decimal"
    },
    "vendorName": "schema:name",
    "taxId": {
      "@id": "schema:taxID"
    },
    "jobs": {
      "@id": "cmic:hasJob",
      "@container": "@set"
    }
  }
}