{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/precisely-apis/main/json-schema/precisely-apis-metadata-response-schema.json",
  "title": "MetadataResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/precisely-apis-places-api-openapi.yml#/components/schemas/MetadataResponse",
  "properties": {
    "sic": {
      "items": {
        "$ref": "#/$defs/SicMetadata"
      },
      "type": "array"
    },
    "category": {
      "items": {
        "$ref": "#/$defs/CategoryMetadata"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "CategoryMetadata": {
      "properties": {
        "code": {
          "type": "string"
        },
        "sic": {
          "type": "string"
        },
        "tradeDivision": {
          "type": "string"
        },
        "tradeGroup": {
          "type": "string"
        },
        "class": {
          "type": "string"
        },
        "subClass": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "SicMetadata": {
      "properties": {
        "code": {
          "type": "string"
        },
        "categoryCode": {
          "type": "string"
        },
        "tradeDivision": {
          "type": "string"
        },
        "tradeGroup": {
          "type": "string"
        },
        "class": {
          "type": "string"
        },
        "subClass": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}