{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kvk-nl/json-schema/kvk-nl-eigenaar-schema.json",
  "title": "Eigenaar",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kvk-nl-basisprofiel-openapi.yml#/components/schemas/Eigenaar",
  "type": "object",
  "properties": {
    "rsin": {
      "type": "string",
      "description": "Rechtspersonen Samenwerkingsverbanden Informatie Nummer"
    },
    "rechtsvorm": {
      "type": "string"
    },
    "uitgebreideRechtsvorm": {
      "type": "string"
    },
    "datumUitschrijving": {
      "type": "string",
      "description": "De datum dat de Niet Natuurlijk Persoon is uitgeschreven."
    },
    "adressen": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Adres"
      }
    },
    "websites": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "links": {
      "$ref": "#/$defs/Links"
    }
  },
  "$defs": {
    "Adres": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "Correspondentieadres en/of bezoekadres"
        },
        "indAfgeschermd": {
          "type": "string",
          "description": "Indicatie of het adres is afgeschermd"
        },
        "volledigAdres": {
          "type": "string"
        },
        "straatnaam": {
          "type": "string"
        },
        "huisnummer": {
          "type": "integer",
          "format": "int32"
        },
        "huisletter": {
          "type": "string"
        },
        "huisnummerToevoeging": {
          "type": "string"
        },
        "toevoegingAdres": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "postbusnummer": {
          "type": "integer",
          "format": "int32"
        },
        "plaats": {
          "type": "string"
        },
        "straatHuisnummer": {
          "type": "string"
        },
        "postcodeWoonplaats": {
          "type": "string"
        },
        "regio": {
          "type": "string"
        },
        "land": {
          "type": "string"
        },
        "geoData": {
          "$ref": "#/$defs/GeoData"
        }
      }
    },
    "GeoData": {
      "type": "object",
      "properties": {
        "addresseerbaarObjectId": {
          "type": "string",
          "description": "Unieke BAG id"
        },
        "nummerAanduidingId": {
          "type": "string",
          "description": "Unieke BAG nummeraanduiding id"
        },
        "gpsLatitude": {
          "type": "number",
          "description": "Lengtegraad",
          "format": "double"
        },
        "gpsLongitude": {
          "type": "number",
          "description": "Breedtegraad",
          "format": "double"
        },
        "rijksdriehoekX": {
          "type": "number",
          "description": "Rijksdriehoek X-coördinaat",
          "format": "double"
        },
        "rijksdriehoekY": {
          "type": "number",
          "description": "Rijksdriehoek Y-coördinaat",
          "format": "double"
        },
        "rijksdriehoekZ": {
          "type": "number",
          "description": "Rijksdriehoek Z-coördinaat",
          "format": "double"
        }
      },
      "description": "Basisregistratie Adressen en Gebouwen gegevens uit het kadaster"
    },
    "Links": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rel": {
            "type": "string"
          },
          "href": {
            "type": "string",
            "format": "uri"
          }
        }
      }
    }
  }
}