{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tenderapi-eu/json-schema/tenderapi-eu-organisation-list-schema.json",
  "title": "OrganisationList",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tenderapi-eu-openapi.yaml#/components/schemas/OrganisationList",
  "type": "object",
  "properties": {
    "organisations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Organisation"
      }
    },
    "page": {
      "$ref": "#/$defs/PageInfo"
    }
  },
  "required": [
    "organisations",
    "page"
  ],
  "$defs": {
    "Organisation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "country": {
          "type": "string"
        }
      },
      "required": [
        "id",
        "name",
        "country"
      ]
    },
    "PageInfo": {
      "type": "object",
      "properties": {
        "nextCursor": {
          "type": "string"
        },
        "total": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer"
            },
            "capped": {
              "type": "boolean"
            }
          },
          "required": [
            "count",
            "capped"
          ]
        }
      },
      "required": [
        "nextCursor",
        "total"
      ]
    }
  }
}