MyPlate · JSON-LD Context

Myplate Food Context

JSON-LD context defining the semantic vocabulary for Myplate Food from MyPlate.

2 Classes 7 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
myplate: https://myplate.food/schema#

Classes

Error CitedResult

Properties

Property Type Container
error string
details
calculator string
inputs
source string
canonical_url reference
disclaimer string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://myplate.food/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "myplate": "https://myplate.food/schema#",
    "Error": "myplate:Error",
    "error": {
      "@id": "myplate:error",
      "@type": "xsd:string"
    },
    "details": {
      "@id": "myplate:details"
    },
    "CitedResult": "myplate:CitedResult",
    "calculator": {
      "@id": "myplate:calculator",
      "@type": "xsd:string"
    },
    "inputs": {
      "@id": "myplate:inputs"
    },
    "source": {
      "@id": "myplate:source",
      "@type": "xsd:string"
    },
    "canonical_url": {
      "@id": "myplate:canonical_url",
      "@type": "@id"
    },
    "disclaimer": {
      "@id": "myplate:disclaimer",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "MyPlate API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects MyPlate's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-18) from openapi/myplate-food-openapi.json.",
  "dcterms:created": "2026-11-18",
  "dcterms:source": [
    "openapi/myplate-food-openapi.json"
  ]
}