{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/airthings/json-schema/airthings-get-organizations-response-schema.json",
  "title": "GetOrganizationsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/airthings-organizations-api-openapi.yml#/components/schemas/GetOrganizationsResponse",
  "type": "object",
  "properties": {
    "organizations": {
      "items": {
        "$ref": "#/$defs/GetOrganizationResponse"
      },
      "type": "array"
    }
  },
  "required": [
    "organizations"
  ],
  "$defs": {
    "GetOrganizationResponse": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "oneOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            }
          ]
        },
        "userGroupId": {
          "type": "string",
          "format": "uuid"
        }
      },
      "required": [
        "id",
        "userGroupId"
      ]
    }
  }
}