{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sap-btp/json-schema/sap-btp-bckndobject-store-secret-with-sensitive-data-request-for-post-call-schema.json",
  "title": "BckndobjectStoreSecretWithSensitiveDataRequestForPostCall",
  "description": "This represents all the meta-data and extra information to be stored as a k8-secret",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sap-btp-ai-core-openapi.yml#/components/schemas/BckndobjectStoreSecretWithSensitiveDataRequestForPostCall",
  "type": "object",
  "required": [
    "name",
    "type",
    "data"
  ],
  "properties": {
    "name": {
      "type": "string",
      "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$",
      "maxLength": 233,
      "description": "Name of the object store for the secret object to be created. Can be used later on check for existence of the secret."
    },
    "type": {
      "type": "string",
      "description": "Storage type e.g. S3, GCS,..."
    },
    "bucket": {
      "type": "string",
      "description": "Bucket to be used"
    },
    "endpoint": {
      "type": "string",
      "description": "Optional parameter - URL of the storage server (S3 only)"
    },
    "region": {
      "type": "string",
      "description": "Optional parameter - Region of the storage server (S3 only)"
    },
    "pathPrefix": {
      "type": "string",
      "description": "prefix folder to be added to storage path"
    },
    "verifyssl": {
      "type": "string",
      "description": "0, 1 flag for the KF-serving annotation - serving.kubeflow.org/s3-verifyssl"
    },
    "usehttps": {
      "type": "string",
      "description": "0, 1 flag for KF-serving annotations - serving.kubeflow.org/s3-usehttps",
      "default": "1"
    },
    "data": {
      "type": "object",
      "description": "key:value pairs of data",
      "writeOnly": true
    }
  }
}