Dish Directory · Schema

CourseDetail

RestaurantFoodDataListingsDiscovery

Properties

Name Type Description
slug string The stable identifier. Use it in /academy/courses/{slug}.
title string
summary string
level string
durationMinutes integer
passMarkPercent integer
maxAttempts integer
validityMonths object Months a certificate stays valid. Null: it never expires.
lessonCount integer
questionCount integer How many exam questions the course has. Not the questions.
path string The course page on this site.
url string Absolute URL of the course page.
updated string ISO 8601.
objectives array
faq array
lessons array
View JSON Schema on GitHub

JSON Schema

dishdirectory-com-course-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dishdirectory-com/json-schema/dishdirectory-com-course-detail-schema.json",
  "title": "CourseDetail",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dishdirectory-com-openapi.json#/components/schemas/CourseDetail",
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "description": "The stable identifier. Use it in /academy/courses/{slug}."
    },
    "title": {
      "type": "string"
    },
    "summary": {
      "type": "string"
    },
    "level": {
      "type": "string",
      "enum": [
        "foundations",
        "practitioner",
        "specialist"
      ]
    },
    "durationMinutes": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "passMarkPercent": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "maxAttempts": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "validityMonths": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ],
      "description": "Months a certificate stays valid. Null: it never expires."
    },
    "lessonCount": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991
    },
    "questionCount": {
      "type": "integer",
      "minimum": -9007199254740991,
      "maximum": 9007199254740991,
      "description": "How many exam questions the course has. Not the questions."
    },
    "path": {
      "type": "string",
      "description": "The course page on this site."
    },
    "url": {
      "type": "string",
      "description": "Absolute URL of the course page."
    },
    "updated": {
      "type": "string",
      "description": "ISO 8601."
    },
    "objectives": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "faq": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string"
          },
          "a": {
            "type": "string"
          }
        },
        "required": [
          "q",
          "a"
        ],
        "additionalProperties": false
      }
    },
    "lessons": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "position": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "durationMinutes": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "path": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "title",
          "position",
          "durationMinutes",
          "path",
          "url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "slug",
    "title",
    "summary",
    "level",
    "durationMinutes",
    "passMarkPercent",
    "maxAttempts",
    "validityMonths",
    "lessonCount",
    "questionCount",
    "path",
    "url",
    "updated",
    "objectives",
    "faq",
    "lessons"
  ],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/dishdirectory-com-course-detail"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.