Microsoft Azure · Schema

Item

A Cosmos DB item (document).

API ManagementCloudCloud ComputingEnterpriseInfrastructure as a ServicePlatform as a ServiceT1

Properties

Name Type Description
id string The unique identifier of the item.
_rid string System-generated resource ID.
_ts integer System-generated timestamp.
_self string System-generated URI for the resource.
_etag string System-generated resource etag.
_attachments string Addressable path for the attachments resource.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Item",
  "title": "Item",
  "type": "object",
  "description": "A Cosmos DB item (document).",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier of the item.",
      "example": "abc123"
    },
    "_rid": {
      "type": "string",
      "readOnly": true,
      "description": "System-generated resource ID.",
      "example": "500123"
    },
    "_ts": {
      "type": "integer",
      "readOnly": true,
      "description": "System-generated timestamp.",
      "example": 10
    },
    "_self": {
      "type": "string",
      "readOnly": true,
      "description": "System-generated URI for the resource.",
      "example": "example_value"
    },
    "_etag": {
      "type": "string",
      "readOnly": true,
      "description": "System-generated resource etag.",
      "example": "example_value"
    },
    "_attachments": {
      "type": "string",
      "readOnly": true,
      "description": "Addressable path for the attachments resource.",
      "example": "example_value"
    }
  },
  "additionalProperties": true,
  "required": [
    "id"
  ]
}