{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tyk/json-schema/tyk-oauth-apps-schema.json",
  "title": "OAuthApps",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tyk-oauth-api-openapi.yml#/components/schemas/OAuthApps",
  "properties": {
    "apps": {
      "items": {
        "$ref": "#/$defs/OAuthClient"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "pages": {
      "type": "integer"
    }
  },
  "type": "object",
  "$defs": {
    "DcrpRegistration": {
      "properties": {
        "access_token": {
          "type": "string"
        },
        "client_uri": {
          "type": "string"
        },
        "provider": {
          "type": "string"
        }
      },
      "type": "object"
    },
    "OAuthClient": {
      "properties": {
        "client_id": {
          "type": "string"
        },
        "client_name": {
          "type": "string"
        },
        "dcr_registration": {
          "$ref": "#/$defs/DcrpRegistration"
        },
        "description": {
          "type": "string"
        },
        "meta_data": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "policy_id": {
          "type": "string"
        },
        "redirect_uri": {
          "type": "string"
        },
        "secret": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}