{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://landscapearchive.org/schemas/orbits/tla-lod.required.schema.json",
  "title": "TLA-LOD required-keys smoke (Draft — not normative)",
  "description": "Required-key + enum smoke for la.archive.softscape-lod.v1 golden examples. Not a full normative schema; not Archive Seal.",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "schema_id",
    "schema_version",
    "pack_id",
    "created_at",
    "lod",
    "tla185_refs"
  ],
  "properties": {
    "schema_id": { "const": "la.archive.softscape-lod.v1" },
    "schema_version": { "type": "integer", "const": 1 },
    "pack_id": { "type": "string", "minLength": 1 },
    "created_at": { "type": "string", "minLength": 1 },
    "lod": {
      "type": "object",
      "required": ["gate", "delivery_phase", "completeness"],
      "properties": {
        "gate": {
          "type": "string",
          "enum": ["concept", "design_intent", "tender", "construction_issue", "as_built", "maintenance"]
        },
        "delivery_phase": { "type": "string", "minLength": 1 },
        "completeness": {
          "type": "string",
          "enum": ["skeletal", "partial", "detailed", "verified", "unknown"]
        }
      }
    },
    "tla185_refs": { "type": "object" }
  }
}
