{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kvk-nl/json-schema/kvk-nl-paged-signalen-type-schema.json",
  "title": "PagedSignalenType",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kvk-nl-mutatieservice-openapi.yml#/components/schemas/PagedSignalenType",
  "allOf": [
    {
      "required": [
        "signalen"
      ],
      "type": "object",
      "properties": {
        "signalen": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SignaalInfo"
          }
        }
      }
    },
    {
      "$ref": "#/$defs/PaginationInfo"
    }
  ],
  "$defs": {
    "PaginationInfo": {
      "required": [
        "aantal",
        "pagina",
        "totaal",
        "totaalPaginas"
      ],
      "type": "object",
      "properties": {
        "pagina": {
          "type": "integer"
        },
        "aantal": {
          "type": "integer"
        },
        "totaal": {
          "type": "number"
        },
        "totaalPaginas": {
          "type": "integer"
        }
      }
    },
    "SignaalInfo": {
      "required": [
        "id",
        "kvknummer",
        "timestamp"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "timestamp": {
          "type": "string",
          "description": "Het datum en tijdformaat moet voldoen aan RFC3339 op basis van ISO8601.",
          "format": "date-time"
        },
        "kvknummer": {
          "type": "string",
          "default": ""
        },
        "signaalType": {
          "$ref": "#/$defs/SignaalType"
        },
        "vestigingsnummer": {
          "type": "string"
        }
      }
    },
    "SignaalType": {
      "type": "string",
      "enum": [
        "SignaalGewijzigdeInschrijving",
        "SignaalNieuweInschrijving",
        "SignaalGewijzigdeVestiging",
        "SignaalBeeindiging_2025_01",
        "SignaalRechtsvormwijziging_2025_01",
        "SignaalVoortzettingEnOverdracht_2025_01",
        "SignaalAdreswijziging_2025_01",
        "SignaalNaamgeving_2025_01",
        "SignaalFusieSplitsing_2025_01",
        "SignaalActiviteitenWijziging_2025_01",
        "SignaalInsolventie_2025_01",
        "SignaalFunctionarisWijziging_2025_01"
      ]
    }
  }
}