{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-fusion/json-schema/oracle-fusion-callback-subscription-request-schema.json",
  "title": "CallbackSubscriptionRequest",
  "description": "The typical set of properties that are required to invoke the callback rest endpoint. These properties need to be specified as per the securityScheme.\n",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-fusion-common-features-openapi.json#/components/schemas/CallbackSubscriptionRequest",
  "required": [
    "callbackUrlPrefix",
    "callbackResourcePath"
  ],
  "type": "object",
  "properties": {
    "securityScheme": {
      "type": "string",
      "description": "One among \"OWSM_GPA\", \"OWSM_LPA\", \"DIRECT_OAUTH\". \nIf unspecified, the default will be assumed as OWSM_GPA. For OWSM_LPA, the default policy attached from client will be \"oracle/http_oauth2_token_client_policy\".\nFor \"ouath2ClientCsfKey\" property of \"OWSM_LAP\" security scheme, the subscribers need to ensure the password credential is configured in CSF under the csf map \"oracle.wsm.security\".\nFor \"clientId\" and \"clientSecret\" properties of \"DIRECT_OAUTH security\" scheme, the subscribers need to ensure the clientId and secret is configured in IDCS. \n",
      "enum": [
        "OWSM_GPA",
        "OWSM_LPA",
        "DIRECT_OAUTH"
      ]
    },
    "callbackUrlPrefix": {
      "type": "string",
      "description": "Property that specifies the base URL of a REST Resource that can be used in conjunction with callbackResourcePath property to provide a full URL for the resource. This property is required for all the security schemes.\n"
    },
    "callbackResourcePath": {
      "type": "string",
      "description": "Property that specifies the relative Path for REST Resource. The base Resource URL is given by callbackUrlPrefix property. This property is required for all the security schemes.\n"
    },
    "accessTokenUri": {
      "type": "string",
      "description": "URL to obtain access tokens from the Identity store. This property is usually required for DIRECT_OAUTH security scheme.\n"
    },
    "ouath2ClientCsfKey": {
      "type": "string",
      "description": "Property to set the client's CSF key. Eg: \"idcs.client.credentials\". This will be specified in OWSM's ConfigOverride.CO_OAUTH2_CLIENT_CSF_KEY while creating PolicySetFeature. This property is usually required for OWSM_LPA security scheme.\n"
    },
    "clientId": {
      "type": "string",
      "description": "The clientId issued by OAuth server during client registration that should be added to credential store and provided as a policy parameter before making a call. This property is usually required for OWSM_LPA and DIRECT_OAUTH security schemes.\n"
    },
    "clientSecret": {
      "type": "string",
      "description": "The client secret issued by OAuth server during client registration that should be added to credential store and provided as a policy parameter before making a call. This property is usually required for OWSM_LPA and DIRECT_OAUTH security schemes.\n"
    }
  }
}