Pure Storage · Schema

Policy

Policy schema from FlashBlade REST API

StorageData StorageFlash StorageEnterprise StorageCloud StorageObject StorageFile StorageBlock StorageKubernetes StorageInfrastructure

Properties

Name Type Description
context object The context in which the operation was performed. Valid values include a reference to any array which is a member of the same fleet or to the fleet itself. Other parameters provided with the request,
retention_lock string If retention lock is locked, then the the policy can not be removed from the associated file systems and the rules may not be changed. Valid values are `locked` and `unlocked`. Contact Pure Technical
rules array
workload object A reference to the workload that is managing this resource. The `name` and `configuration` may show as the string "(unknown)" briefly after a failover.
View JSON Schema on GitHub

JSON Schema

flashblade-rest-api-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Policy",
  "description": "Policy schema from FlashBlade REST API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flashblade-rest-api-policy-schema.json",
  "allOf": [
    {
      "allOf": [
        {
          "$ref": "#/components/schemas/PolicyBaseRenameable"
        }
      ]
    },
    {
      "type": "object",
      "properties": {
        "context": {
          "description": "The context in which the operation was performed.\n\nValid values include a reference to any array which is a member of the same fleet\nor to the fleet itself.\n\nOther parameters provided with the request, such as names of volumes or snapshots,\nare resolved relative to the provided `context`.\n",
          "readOnly": true,
          "title": "FixedReference",
          "allOf": [
            {
              "$ref": "#/components/schemas/_fixedReference"
            }
          ]
        }
      }
    },
    {
      "type": "object",
      "properties": {
        "retention_lock": {
          "description": "If retention lock is locked, then the the policy can not be removed\nfrom the associated file systems and the rules may not be changed.\nValid values are `locked` and `unlocked`.\nContact Pure Technical Services to change `locked` to `unlocked`.\n",
          "type": "string",
          "readOnly": true
        },
        "rules": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/_policy_rule"
          }
        },
        "workload": {
          "description": "A reference to the workload that is managing this resource.\nThe `name` and `configuration` may show as the string \"(unknown)\" briefly after a failover.\n",
          "allOf": [
            {
              "$ref": "#/components/schemas/_fixedReference"
            },
            {
              "type": "object",
              "properties": {
                "configuration": {
                  "description": "The name of the preset configuration object.\n",
                  "type": "string",
                  "readOnly": true
                }
              }
            }
          ]
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/flashblade-rest-api-policy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.