{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-iceberg/refs/heads/main/json-schema/rest-catalog-open-api-storage-credential-schema.json",
  "title": "StorageCredential",
  "description": "StorageCredential schema from Apache Iceberg REST Catalog API",
  "type": "object",
  "properties": {
    "prefix": {
      "type": "string",
      "description": "Indicates a storage location prefix where the credential is relevant. Clients should choose the most specific prefix (by selecting the longest prefix) if several credentials of the same type are available."
    },
    "config": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "prefix",
    "config"
  ]
}