{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vng-realisatie/json-schema/vng-realisatie-geautomatiseerde-actor-schema.json",
  "title": "GeautomatiseerdeActor",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vng-realisatie-geautomatiseerde-actoren-api-openapi.yml#/components/schemas/GeautomatiseerdeActor",
  "allOf": [
    {
      "$ref": "#/$defs/Actor"
    },
    {
      "type": "object",
      "description": "Systeemcomponent dat voor de gemeente werkzaamheden verricht.",
      "required": [
        "functie",
        "omschrijving"
      ],
      "properties": {
        "functie": {
          "$ref": "#/$defs/Omschrijvingkort"
        },
        "omschrijving": {
          "$ref": "#/$defs/Omschrijvinglang"
        }
      }
    }
  ],
  "$defs": {
    "Actor": {
      "type": "object",
      "description": "De acor handelt in een interne taak of een klantcontact.",
      "required": [
        "id",
        "indicatieActief",
        "naam",
        "soortActor"
      ],
      "properties": {
        "id": {
          "$ref": "#/$defs/Identificatiecode"
        },
        "indicatieActief": {
          "$ref": "#/$defs/IndicatieJaNee"
        },
        "naam": {
          "$ref": "#/$defs/Naamlang"
        },
        "soortActor": {
          "$ref": "#/$defs/SoortActor"
        }
      }
    },
    "Identificatiecode": {
      "type": "string",
      "description": "",
      "maxLength": 40
    },
    "IndicatieJaNee": {
      "type": "boolean",
      "description": ""
    },
    "Naamlang": {
      "type": "string",
      "description": "",
      "maxLength": 200
    },
    "Omschrijvingkort": {
      "type": "string",
      "description": "",
      "maxLength": 40
    },
    "Omschrijvinglang": {
      "type": "string",
      "description": "",
      "maxLength": 200
    },
    "SoortActor": {
      "type": "string",
      "description": "De typering van de actor.<body><ul><li>`medewerker` - medewerker </li><li>`geautomatiseerde_actor` - geautomatiseerde actor </li><li>`organisatorische_eenheid` - organisatorische eenheid </li></ul></body>",
      "enum": [
        "medewerker",
        "geautomatiseerde_actor",
        "organisatorische_eenheid"
      ]
    }
  }
}