Pure Storage · Schema

Tag

Tag schema from Pure1 Public REST API

StorageData StorageFlash StorageEnterprise StorageCloud StorageObject StorageFile StorageBlock StorageKubernetes StorageInfrastructure

Properties

Name Type Description
key string Key of the tag.
namespace string Namespace of the tag. Namespace identifies the category of the tag.
resource object
tag_organization_id integer Org id of the tag.
value string Value of the tag.
View JSON Schema on GitHub

JSON Schema

pure1-cloud-api-tag-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Tag",
  "description": "Tag schema from Pure1 Public REST API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/pure1-cloud-api-tag-schema.json",
  "type": "object",
  "properties": {
    "key": {
      "description": "Key of the tag.",
      "type": "string",
      "example": "example_key"
    },
    "namespace": {
      "description": "Namespace of the tag.\nNamespace identifies the category of the tag.\n",
      "type": "string",
      "example": "pure1"
    },
    "resource": {
      "type": "object",
      "properties": {
        "id": {
          "description": "The opaque and unique id of this resource.",
          "type": "string",
          "readOnly": true,
          "example": "2a989a09-c851-4d52-9ec6-ab728b1c04db"
        },
        "name": {
          "description": "The name of this resource.",
          "type": "string",
          "readOnly": true,
          "example": "example_name"
        },
        "resource_type": {
          "description": "The type of this resource represented by the name of its REST endpoint.\nFor example, \"arrays\", \"network-interfaces\", and \"metrics\".\nThe value may be `null` if the resource is not represented.\n",
          "type": "string",
          "readOnly": true,
          "example": "example_resource_type"
        }
      },
      "x-readOnly": true
    },
    "tag_organization_id": {
      "description": "Org id of the tag.",
      "type": "integer",
      "format": "int64",
      "example": 101
    },
    "value": {
      "description": "Value of the tag.",
      "type": "string",
      "example": "value123"
    }
  }
}