{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mri-software/json-schema/mri-software-zone-request-schema.json",
  "title": "ZoneRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mri-software-location-zones-api-openapi.yml#/components/schemas/ZoneRequest",
  "properties": {
    "name": {
      "type": "string",
      "format": "string"
    },
    "location_id": {
      "type": "integer",
      "format": "int32"
    },
    "reference": {
      "type": "string",
      "format": "string"
    },
    "maximum_occupancy": {
      "type": "integer",
      "format": "int32"
    },
    "spaces_enabled": {
      "type": "boolean",
      "format": "bool"
    },
    "spaces": {
      "description": "This is required if spaces are enabled",
      "type": "integer",
      "format": "int32"
    },
    "spaces_title": {
      "description": "This is required if spaces are enabled",
      "type": "string",
      "format": "string"
    }
  },
  "type": "object"
}