{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-btp/json-schema/sap-btp-metadata-configuration-request-schema.json",
  "title": "MetadataConfigurationRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-btp-document-grounding-openapi.yml#/components/schemas/MetadataConfigurationRequest",
  "type": "object",
  "required": [
    "destinationName",
    "dataRepositoryType"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "If provided, must be a valid UUID. If not provided, a new UUID will be generated."
    },
    "name": {
      "type": "string",
      "description": "If provided, must be a valid string. If not provided, will be same as id."
    },
    "destinationName": {
      "type": "string",
      "description": "Contains destination name containing credentials to access the data repository."
    },
    "dataRepositoryType": {
      "type": "string",
      "enum": [
        "MSSharePoint",
        "S3",
        "SFTP"
      ],
      "description": "The data repository type for which this configuration is being created."
    },
    "includePaths": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1
    },
    "labels": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key",
          "value"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    }
  }
}