{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openservicedirectory.org/schemas/osd-catalog-entry/0.3.0.schema.json",
  "title": "OSD catalog entry",
  "description": "An ARD v0.91 entry with required namespaced OSD brand terms.",
  "allOf": [
    { "$ref": "https://openservicedirectory.org/schemas/ard-entry/0.3.0.schema.json#/$defs/ArdEntry" },
    {
      "type": "object",
      "required": ["@context", "osd:brandName", "osd:brandDomain"],
      "properties": {
        "@context": {
          "type": "object",
          "required": ["osd"],
          "properties": {
            "osd": {
              "const": "https://openservicedirectory.org/ns#",
              "description": "Namespace for OSD extension terms."
            }
          },
          "additionalProperties": true
        },
        "osd:brandName": {
          "type": "string",
          "description": "Human-readable name of the represented brand."
        },
        "osd:brandDomain": {
          "type": "string",
          "description": "Canonical domain of the represented brand."
        }
      }
    }
  ]
}
