{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ivans/json-schema/ivans-classification-standard-detail-schema.json",
  "title": "ClassificationStandardDetail",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ivans-classification-standards-api-openapi.yml#/components/schemas/ClassificationStandardDetail",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 128
    },
    "externalId": {
      "type": "string",
      "maxLength": 255
    },
    "market": {
      "type": [
        "string",
        "null"
      ]
    },
    "lineOfBusiness": {
      "type": [
        "string",
        "null"
      ]
    },
    "classificationCodes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ClassificationCode"
      }
    }
  },
  "required": [
    "classificationCodes",
    "externalId",
    "lineOfBusiness",
    "market",
    "name"
  ],
  "$defs": {
    "ClassificationCode": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 10
        },
        "description": {
          "type": "string"
        }
      },
      "required": [
        "code",
        "description"
      ]
    }
  }
}