Pure Storage · JSON Structure

Pure1 Cloud Api Tag Structure

Tag schema from Pure1 Public REST API

Type: object Properties: 5
StorageData StorageFlash StorageEnterprise StorageCloud StorageObject StorageFile StorageBlock StorageKubernetes StorageInfrastructure

Tag is a JSON Structure definition published by Pure Storage, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

key namespace resource tag_organization_id value

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-structure/pure1-cloud-api-tag-structure.json",
  "name": "Tag",
  "description": "Tag schema from Pure1 Public REST API",
  "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": "int64",
      "example": 101
    },
    "value": {
      "description": "Value of the tag.",
      "type": "string",
      "example": "value123"
    }
  }
}