{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "tag",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier for the term.",
      "type": "integer",
      "context": [
        "view",
        "embed",
        "edit"
      ],
      "readonly": true
    },
    "count": {
      "description": "Number of published posts for the term.",
      "type": "integer",
      "context": [
        "view",
        "edit"
      ],
      "readonly": true
    },
    "description": {
      "description": "HTML description of the term.",
      "type": "string",
      "context": [
        "view",
        "edit"
      ]
    },
    "link": {
      "description": "URL of the term.",
      "type": "string",
      "format": "uri",
      "context": [
        "view",
        "embed",
        "edit"
      ],
      "readonly": true
    },
    "name": {
      "description": "HTML title for the term.",
      "type": "string",
      "context": [
        "view",
        "embed",
        "edit"
      ],
      "required": true
    },
    "slug": {
      "description": "An alphanumeric identifier for the term unique to its type.",
      "type": "string",
      "context": [
        "view",
        "embed",
        "edit"
      ]
    },
    "taxonomy": {
      "description": "Type attribution for the term.",
      "type": "string",
      "enum": [
        "post_tag"
      ],
      "context": [
        "view",
        "embed",
        "edit"
      ],
      "readonly": true
    },
    "meta": {
      "description": "Meta fields.",
      "type": "object",
      "context": [
        "view",
        "edit"
      ],
      "properties": []
    }
  }
}
