{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/endeavour-energy/main/json-schema/endeavour-energy-facet-enumeration-schema.json",
  "title": "facet_enumeration",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/endeavour-energy-catalog-api-openapi.yml#/components/schemas/facet_enumeration",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "facets": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/facet_value_enumeration"
      }
    }
  },
  "$defs": {
    "facet_value_enumeration": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "value": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      }
    }
  }
}