{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-tags-list-result-schema.json",
  "title": "TagsListResult",
  "description": "List of subscription tags.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-tags-api-openapi.yml#/components/schemas/TagsListResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The TagDetails items on this page",
      "items": {
        "$ref": "#/$defs/TagDetails"
      }
    },
    "nextLink": {
      "type": "string",
      "format": "uri",
      "description": "The link to the next page of items"
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "TagCount": {
      "type": "object",
      "description": "Tag count.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Type of count."
        },
        "value": {
          "type": "integer",
          "format": "int32",
          "description": "Value of count."
        }
      }
    },
    "TagDetails": {
      "type": "object",
      "description": "Tag details.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The tag name ID.",
          "readOnly": true
        },
        "tagName": {
          "type": "string",
          "description": "The tag name."
        },
        "count": {
          "$ref": "#/$defs/TagCount",
          "description": "The total number of resources that use the resource tag. When a tag is initially created and has no associated resources, the value is 0."
        },
        "values": {
          "type": "array",
          "description": "The list of tag values.",
          "items": {
            "$ref": "#/$defs/TagValue"
          }
        }
      }
    },
    "TagValue": {
      "type": "object",
      "description": "Tag information.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The tag value ID.",
          "readOnly": true
        },
        "tagValue": {
          "type": "string",
          "description": "The tag value."
        },
        "count": {
          "$ref": "#/$defs/TagCount",
          "description": "The tag value count."
        }
      }
    }
  }
}