{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-crosswork/json-schema/cisco-crosswork-rbac-secured-apis-schema.json",
  "title": "rbacSecuredAPIs",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-crosswork-rbac-api-openapi.yml#/components/schemas/rbacSecuredAPIs",
  "type": "array",
  "items": {
    "$ref": "#/$defs/rbacSecuredAPI"
  },
  "$defs": {
    "rbacAuth": {
      "type": "object"
    },
    "rbacAuthProviderMeta": {
      "type": "object"
    },
    "rbacAuthTypeEnum": {
      "type": "string"
    },
    "rbacBasicAuth": {
      "type": "object"
    },
    "rbacCORS": {
      "type": "object"
    },
    "rbacCacheOptions": {
      "type": "object"
    },
    "rbacEventHandlerMetaConfig": {
      "type": "object"
    },
    "rbacGlobalRateLimit": {
      "type": "object"
    },
    "rbacMiddlewareSection": {
      "type": "object"
    },
    "rbacNotificationsManager": {
      "type": "object"
    },
    "rbacOauth2Meta": {
      "type": "object"
    },
    "rbacOpenIDOptions": {
      "type": "object"
    },
    "rbacProxy": {
      "type": "object"
    },
    "rbacResponseProcessor": {
      "type": "object"
    },
    "rbacSecuredAPI": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "api_id": {
          "type": "string"
        },
        "org_id": {
          "type": "string"
        },
        "use_keyless": {
          "type": "boolean",
          "format": "boolean"
        },
        "use_oauth2": {
          "type": "boolean",
          "format": "boolean"
        },
        "use_openid": {
          "type": "boolean",
          "format": "boolean"
        },
        "openid_options": {
          "$ref": "#/$defs/rbacOpenIDOptions"
        },
        "oauth_meta": {
          "$ref": "#/$defs/rbacOauth2Meta"
        },
        "auth": {
          "$ref": "#/$defs/rbacAuth"
        },
        "use_basic_auth": {
          "type": "boolean",
          "format": "boolean"
        },
        "basic_auth": {
          "$ref": "#/$defs/rbacBasicAuth"
        },
        "use_mutual_tls_auth": {
          "type": "boolean",
          "format": "boolean"
        },
        "client_certificates": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "upstream_certificates": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "pinned_public_keys": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "enable_jwt": {
          "type": "boolean",
          "format": "boolean"
        },
        "use_standard_auth": {
          "type": "boolean",
          "format": "boolean"
        },
        "enable_coprocess_auth": {
          "type": "boolean",
          "format": "boolean"
        },
        "jwt_signing_method": {
          "type": "string"
        },
        "jwt_identit_base_field": {
          "type": "string"
        },
        "jwt_client_base_field": {
          "type": "string"
        },
        "jwt_policy_field_name": {
          "type": "string"
        },
        "jwt_issued_at_validation_skew": {
          "type": "string",
          "format": "uint64"
        },
        "jwt_expires_at_validation_skew": {
          "type": "string",
          "format": "uint64"
        },
        "jwt_not_before_validation_skew": {
          "type": "string",
          "format": "uint64"
        },
        "jwt_skip_kid": {
          "type": "boolean",
          "format": "boolean"
        },
        "notifications": {
          "$ref": "#/$defs/rbacNotificationsManager"
        },
        "enable_signature_checking": {
          "type": "boolean",
          "format": "boolean"
        },
        "hmac_allowed_clock_skew": {
          "type": "number",
          "format": "double"
        },
        "base_identity_provided_by": {
          "$ref": "#/$defs/rbacAuthTypeEnum"
        },
        "definition": {
          "$ref": "#/$defs/rbacVersionDefinition"
        },
        "version_data": {
          "$ref": "#/$defs/rbacVersionData"
        },
        "uptime_tests": {
          "$ref": "#/$defs/rbacUptimeTests"
        },
        "proxy": {
          "$ref": "#/$defs/rbacProxy"
        },
        "disable_rate_limit": {
          "type": "boolean",
          "format": "boolean"
        },
        "disable_quota": {
          "type": "boolean",
          "format": "boolean"
        },
        "custom_middleware": {
          "$ref": "#/$defs/rbacMiddlewareSection"
        },
        "custom_middleware_bundle": {
          "type": "string"
        },
        "cache_options": {
          "$ref": "#/$defs/rbacCacheOptions"
        },
        "session_lifetime": {
          "type": "string",
          "format": "int64"
        },
        "active": {
          "type": "boolean",
          "format": "boolean"
        },
        "auth_provider": {
          "$ref": "#/$defs/rbacAuthProviderMeta"
        },
        "session_provider": {
          "$ref": "#/$defs/rbacSessionProviderMeta"
        },
        "event_handlers": {
          "$ref": "#/$defs/rbacEventHandlerMetaConfig"
        },
        "enable_batch_request_support": {
          "type": "boolean",
          "format": "boolean"
        },
        "allowed_ips": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "dont_set_quota_on_create": {
          "type": "boolean",
          "format": "boolean"
        },
        "expire_analytics_after": {
          "type": "string",
          "format": "int64"
        },
        "response_processors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/rbacResponseProcessor"
          }
        },
        "CORS": {
          "$ref": "#/$defs/rbacCORS"
        },
        "domain": {
          "type": "string"
        },
        "do_not_track": {
          "type": "boolean",
          "format": "boolean"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "enable_context_vars": {
          "type": "boolean",
          "format": "boolean"
        },
        "config_data": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/$defs/rbacobject"
          }
        },
        "tag_headers": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "global_rate_limit": {
          "$ref": "#/$defs/rbacGlobalRateLimit"
        },
        "strip_auth_data": {
          "type": "boolean",
          "format": "boolean"
        }
      },
      "title": "AuthorizedAPI represents the core settings of an API which requires a JWT (JSON Web Token) bearer token to access"
    },
    "rbacSessionProviderMeta": {
      "type": "object"
    },
    "rbacUptimeTests": {
      "type": "object"
    },
    "rbacVersionData": {
      "type": "object"
    },
    "rbacVersionDefinition": {
      "type": "object"
    },
    "rbacobject": {
      "type": "object"
    }
  }
}