Weight Forecast · JSON-LD Context

Weight Forecast Com Context

JSON-LD context defining the semantic vocabulary for Weight Forecast Com from Weight Forecast.

2 Classes 12 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/
weight: https://weight-forecast.com/schema#

Classes

WeightEntry FoodItem

Properties

Property Type Container
date date
morningWeight decimal
eveningWeight decimal
calories decimal
workout string
notes string
id string
name string
protein decimal
carbs decimal
fat decimal
mealType string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://weight-forecast.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "weight": "https://weight-forecast.com/schema#",
    "WeightEntry": "weight:WeightEntry",
    "date": {
      "@id": "weight:date",
      "@type": "xsd:date"
    },
    "morningWeight": {
      "@id": "weight:morningWeight",
      "@type": "xsd:decimal"
    },
    "eveningWeight": {
      "@id": "weight:eveningWeight",
      "@type": "xsd:decimal"
    },
    "calories": {
      "@id": "weight:calories",
      "@type": "xsd:decimal"
    },
    "workout": {
      "@id": "weight:workout",
      "@type": "xsd:string"
    },
    "notes": {
      "@id": "weight:notes",
      "@type": "xsd:string"
    },
    "FoodItem": "weight:FoodItem",
    "id": {
      "@id": "weight:id",
      "@type": "xsd:string"
    },
    "name": {
      "@id": "weight:name",
      "@type": "xsd:string"
    },
    "protein": {
      "@id": "weight:protein",
      "@type": "xsd:decimal"
    },
    "carbs": {
      "@id": "weight:carbs",
      "@type": "xsd:decimal"
    },
    "fat": {
      "@id": "weight:fat",
      "@type": "xsd:decimal"
    },
    "mealType": {
      "@id": "weight:mealType",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "Weight Forecast API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects Weight Forecast'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-28) from openapi/weight-forecast-com-openapi.yaml.",
  "dcterms:created": "2026-11-28",
  "dcterms:source": [
    "openapi/weight-forecast-com-openapi.yaml"
  ]
}