{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/colourmemory-com/json-schema/colourmemory-com-scene-response-schema.json",
  "title": "SceneResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/colourmemory-com-scene-api-openapi.yml#/components/schemas/SceneResponse",
  "properties": {
    "period": {
      "type": "string",
      "title": "Period"
    },
    "room_type": {
      "type": "string",
      "title": "Room Type"
    },
    "archive": {
      "type": "string",
      "title": "Archive"
    },
    "period_coherent": {
      "type": "boolean",
      "title": "Period Coherent"
    },
    "materials": {
      "items": {
        "$ref": "#/$defs/SceneMaterial"
      },
      "type": "array",
      "title": "Materials"
    },
    "scene_note": {
      "type": "string",
      "title": "Scene Note"
    },
    "css_variables": {
      "type": "string",
      "title": "Css Variables"
    },
    "production_bible_note": {
      "type": "string",
      "title": "Production Bible Note"
    }
  },
  "type": "object",
  "required": [
    "period",
    "room_type",
    "archive",
    "period_coherent",
    "materials",
    "scene_note",
    "css_variables",
    "production_bible_note"
  ],
  "$defs": {
    "SceneMaterial": {
      "properties": {
        "surface": {
          "type": "string",
          "title": "Surface"
        },
        "colour_name": {
          "type": "string",
          "title": "Colour Name"
        },
        "albedo_daylight": {
          "type": "string",
          "title": "Albedo Daylight"
        },
        "albedo_candlelight": {
          "type": "string",
          "title": "Albedo Candlelight"
        },
        "lrv": {
          "type": "number",
          "title": "Lrv"
        },
        "substrate_class": {
          "type": "string",
          "title": "Substrate Class"
        },
        "roughness_hint": {
          "type": "number",
          "title": "Roughness Hint"
        },
        "source": {
          "type": "string",
          "title": "Source"
        },
        "claim_strength": {
          "type": "string",
          "title": "Claim Strength"
        },
        "drift_flag": {
          "type": "string",
          "title": "Drift Flag"
        }
      },
      "type": "object",
      "required": [
        "surface",
        "colour_name",
        "albedo_daylight",
        "albedo_candlelight",
        "lrv",
        "substrate_class",
        "roughness_hint",
        "source",
        "claim_strength",
        "drift_flag"
      ],
      "title": "SceneMaterial"
    }
  }
}