{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-btp/json-schema/sap-btp-create-service-binding-request-payload-schema.json",
  "title": "CreateServiceBindingRequestPayload",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-btp-service-manager-openapi.yml#/components/schemas/CreateServiceBindingRequestPayload",
  "required": [
    "name",
    "service_instance_id"
  ],
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of the service binding."
    },
    "service_instance_id": {
      "type": "string",
      "description": "The id of the service instance associated with the binding."
    },
    "parameters": {
      "type": "object",
      "description": "Some services support providing of additional configuration parameters during binding creation. Pass these parameters as key-value pairs.<br> For the list of supported configuration parameters, see the documentation of a particular service offering.<br>You can also use the *GET /v1/service_bindings/{serviceBindingID}/parameters* API later to view the parameters defined during this step.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "bind_resource": {
      "type": "object",
      "description": "The bind_resource object contains platform-specific information related to the context in which the service is used.<br> The examples of some common fields to use: <br> app_guid - A string GUID of an application associated with the binding. For credentials bindings. Must be unique within the scope of the platform.<br>app_guid - Represents the scope to which the binding applies within the platform. <br>For example, in Kubernetes it can map to a namespace.<br> The scope of what the platform maps the app_guid to is platform-specific and can vary across binding requests.<br>route - URL of the intermediate application. For route services bindings."
    },
    "labels": {
      "$ref": "#/$defs/Labels"
    }
  },
  "$defs": {
    "Labels": {
      "type": "object",
      "additionalProperties": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "description": "Additional data associated with the resource entity. <br><br>Can be an empty object."
    }
  }
}