oddly · JSON-LD Context

Myoddly Com Context

JSON-LD context defining the semantic vocabulary for Myoddly Com from oddly.

5 Classes 14 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/
myoddly: https://myoddly.com/schema#

Classes

Envelope Meta Error DryRunRequest PrescriptionDryRunRequest

Properties

Property Type Container
data
meta reference
request_id string
api_version string
tier string
error
brand_id string
connector string
action_type string
target_resource_id string
before_state
intended_state
spend_change_cents integer
dedupe_key string

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://myoddly.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "myoddly": "https://myoddly.com/schema#",
    "Envelope": "myoddly:Envelope",
    "data": {
      "@id": "myoddly:data"
    },
    "meta": {
      "@id": "myoddly:meta",
      "@type": "@id"
    },
    "Meta": "myoddly:Meta",
    "request_id": {
      "@id": "myoddly:request_id",
      "@type": "xsd:string"
    },
    "api_version": {
      "@id": "myoddly:api_version",
      "@type": "xsd:string"
    },
    "tier": {
      "@id": "myoddly:tier",
      "@type": "xsd:string"
    },
    "Error": "myoddly:Error",
    "error": {
      "@id": "myoddly:error"
    },
    "DryRunRequest": "myoddly:DryRunRequest",
    "brand_id": {
      "@id": "myoddly:brand_id",
      "@type": "xsd:string"
    },
    "connector": {
      "@id": "myoddly:connector",
      "@type": "xsd:string"
    },
    "action_type": {
      "@id": "myoddly:action_type",
      "@type": "xsd:string"
    },
    "target_resource_id": {
      "@id": "myoddly:target_resource_id",
      "@type": "xsd:string"
    },
    "before_state": {
      "@id": "myoddly:before_state"
    },
    "intended_state": {
      "@id": "myoddly:intended_state"
    },
    "spend_change_cents": {
      "@id": "myoddly:spend_change_cents",
      "@type": "xsd:integer"
    },
    "PrescriptionDryRunRequest": "myoddly:PrescriptionDryRunRequest",
    "dedupe_key": {
      "@id": "myoddly:dedupe_key",
      "@type": "xsd:string"
    }
  },
  "@type": "schema:Dataset",
  "schema:name": "oddly API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects oddly'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/myoddly-com-openapi.yml.",
  "dcterms:created": "2026-11-18",
  "dcterms:source": [
    "openapi/myoddly-com-openapi.yml"
  ]
}