Pure Storage · Schema

Policy

Policy schema from FlashArray REST API

StorageData StorageFlash StorageEnterprise StorageCloud StorageObject StorageFile StorageBlock StorageKubernetes StorageInfrastructure
View JSON Schema on GitHub

JSON Schema

flasharray-rest-api-policy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Policy",
  "description": "Policy schema from FlashArray REST API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flasharray-rest-api-policy-schema.json",
  "allOf": [
    {
      "allOf": [
        {
          "$ref": "#/components/schemas/_resource"
        },
        {
          "$ref": "#/components/schemas/_context"
        },
        {
          "type": "object",
          "properties": {
            "policy_type": {
              "description": "The type of policy. Values include `autodir`, `network-access`, `nfs`, `smb`, `snapshot`,\n`quota`, and `object-store-access`.\n",
              "type": "string",
              "readOnly": true
            }
          }
        }
      ]
    },
    {
      "type": "object",
      "properties": {
        "destroyed": {
          "description": "Returns a value of `true` if the policy has been destroyed and is pending\neradication.\nThe `time_remaining` value displays the amount of time left\nuntil the destroyed policy is permanently eradicated.\nOnce the `time_remaining` period has elapsed,\nthe policy is permanently eradicated and can no longer be recovered.\n",
          "type": "boolean"
        },
        "enabled": {
          "description": "Returns a value of `true` if the policy is enabled.\n",
          "type": "boolean"
        },
        "pod": {
          "description": "A reference to the pod.\n",
          "title": "Reference",
          "allOf": [
            {
              "$ref": "#/components/schemas/_reference"
            }
          ]
        },
        "time_remaining": {
          "description": "The amount of time left, measured in milliseconds, until the destroyed policy is\npermanently eradicated.\n",
          "type": "integer",
          "format": "int64",
          "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/flasharray-rest-api-policy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.