{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adios-hr/json-schema/adios-hr-radar-catalogue-response-schema.json",
  "title": "radar_catalogue_response",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adios-hr-openapi.json#/components/schemas/radar_catalogue_response",
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "$ref": "#/$defs/radar_catalogue_data"
    },
    "meta": {
      "type": "object",
      "description": "count, package, plan, took_ms; lists also include next_cursor and has_more."
    }
  },
  "$defs": {
    "radar_catalogue_data": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "notices": {
          "type": [
            "string",
            "integer"
          ],
          "pattern": "^-?(?:0|[1-9]\\d*)$"
        },
        "latest_published_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "trackers": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "notices": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "latest_published_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              }
            },
            "required": [
              "key",
              "name",
              "description",
              "url",
              "notices"
            ]
          }
        },
        "sources": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "tracker": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "publisher": {
                "type": "string"
              },
              "publisher_short_name": {
                "type": "string"
              },
              "publisher_url": {
                "type": "string"
              },
              "language": {
                "type": "string"
              },
              "checking_enabled": {
                "type": "boolean"
              },
              "check_interval_minutes": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              },
              "last_checked_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "last_success_at": {
                "type": [
                  "string",
                  "null"
                ],
                "format": "date-time"
              },
              "notices": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              }
            },
            "required": [
              "key",
              "tracker",
              "name",
              "publisher",
              "publisher_short_name",
              "publisher_url",
              "language",
              "checking_enabled",
              "check_interval_minutes",
              "notices"
            ]
          }
        },
        "categories": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "tracker": {
                "type": "string"
              },
              "key": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "concerns_children": {
                "type": "boolean"
              },
              "notices": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              }
            },
            "required": [
              "tracker",
              "key",
              "name",
              "slug",
              "url",
              "concerns_children",
              "notices"
            ]
          }
        },
        "hazards": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/items"
          }
        },
        "stores": {
          "type": "array",
          "items": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "name": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "notices": {
                "type": [
                  "string",
                  "integer"
                ],
                "pattern": "^-?(?:0|[1-9]\\d*)$"
              }
            },
            "required": [
              "name",
              "slug",
              "notices"
            ]
          }
        },
        "enums": {
          "type": "object",
          "additionalProperties": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "value": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "description": {
                  "type": "string"
                }
              },
              "required": [
                "value",
                "name",
                "description"
              ]
            }
          }
        }
      },
      "required": [
        "notices",
        "trackers",
        "sources",
        "categories",
        "hazards",
        "stores",
        "enums"
      ]
    }
  }
}