{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-get-broker-deployment-response-schema.json",
  "title": "GetBrokerDeploymentResponse",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-brokerdeployments-api-openapi.yml#/components/schemas/GetBrokerDeploymentResponse",
  "additionalProperties": false,
  "properties": {
    "data": {
      "$ref": "#/$defs/BrokerDeploymentResource"
    },
    "jsonapi": {
      "$ref": "#/$defs/JsonApi"
    },
    "links": {
      "$ref": "#/$defs/PaginatedLinks"
    }
  },
  "required": [
    "data"
  ],
  "type": "object",
  "$defs": {
    "BrokerDeploymentAttributes": {
      "additionalProperties": false,
      "properties": {
        "broker_app_installed_in_org_id": {
          "description": "Org Id in which the Broker App is installed",
          "format": "uuid",
          "type": "string"
        },
        "install_id": {
          "description": "Associated Install ID",
          "format": "uuid",
          "readOnly": true,
          "type": "string"
        },
        "metadata": {
          "description": "Metadata information such user/org id or metrics",
          "type": "object"
        }
      },
      "required": [
        "broker_app_installed_in_org_id",
        "metadata"
      ],
      "type": "object"
    },
    "BrokerDeploymentResource": {
      "additionalProperties": false,
      "properties": {
        "attributes": {
          "$ref": "#/$defs/BrokerDeploymentAttributes"
        },
        "id": {
          "format": "uuid",
          "readOnly": true,
          "type": "string"
        },
        "type": {
          "enum": [
            "broker_deployment"
          ],
          "type": "string"
        }
      },
      "required": [
        "attributes",
        "id",
        "type"
      ],
      "type": "object"
    },
    "JsonApi": {
      "additionalProperties": false,
      "properties": {
        "version": {
          "description": "Version of the JSON API specification this server supports.",
          "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)$",
          "type": "string"
        }
      },
      "required": [
        "version"
      ],
      "type": "object"
    },
    "LinkProperty": {
      "oneOf": [
        {
          "description": "A string containing the link’s URL.",
          "type": "string"
        },
        {
          "additionalProperties": false,
          "properties": {
            "href": {
              "description": "A string containing the link’s URL.",
              "type": "string"
            },
            "meta": {
              "additionalProperties": true,
              "description": "Free-form object that may contain non-standard information.",
              "type": "object"
            }
          },
          "required": [
            "href"
          ],
          "type": "object"
        }
      ]
    },
    "PaginatedLinks": {
      "additionalProperties": false,
      "properties": {
        "first": {
          "$ref": "#/$defs/LinkProperty"
        },
        "last": {
          "$ref": "#/$defs/LinkProperty"
        },
        "next": {
          "$ref": "#/$defs/LinkProperty"
        },
        "prev": {
          "$ref": "#/$defs/LinkProperty"
        },
        "self": {
          "$ref": "#/$defs/LinkProperty"
        }
      },
      "type": "object"
    }
  }
}