{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brm-chronographes-com/json-schema/brm-chronographes-com-demande-validation-schema.json",
  "title": "DemandeValidation",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/brm-chronographes-com-agent-configurator-api-openapi.yml#/components/schemas/DemandeValidation",
  "properties": {
    "configuration": {
      "$ref": "#/$defs/app__routers__agent_configurateur__Configuration"
    },
    "lang": {
      "type": "string",
      "maxLength": 5,
      "title": "Lang",
      "default": "en"
    },
    "country": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 60
        },
        {
          "type": "null"
        }
      ],
      "title": "Country"
    }
  },
  "type": "object",
  "required": [
    "configuration"
  ],
  "$defs": {
    "app__routers__agent_configurateur__Configuration": {
      "properties": {
        "model": {
          "type": "string",
          "maxLength": 80,
          "title": "Model",
          "description": "Model slug, e.g. 'v6-44-sa'."
        },
        "options": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 40,
          "title": "Options",
          "description": "option_id values from GET /models/{model}."
        },
        "engraving": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 24
            },
            {
              "type": "null"
            }
          ],
          "title": "Engraving"
        }
      },
      "type": "object",
      "required": [
        "model"
      ],
      "title": "Configuration"
    }
  }
}