{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/visio/json-schema/visio-shape-data-item-collection-schema.json",
  "title": "ShapeDataItemCollection",
  "description": "Collection of data items associated with a shape",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/visio-shape-data-api-openapi.yml#/components/schemas/ShapeDataItemCollection",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ShapeDataItem"
      }
    }
  },
  "$defs": {
    "ShapeDataItem": {
      "type": "object",
      "description": "A structured data item (label-value pair) associated with a shape",
      "properties": {
        "label": {
          "type": "string",
          "description": "Label or key for the data item"
        },
        "value": {
          "type": "string",
          "description": "Value associated with the label"
        },
        "format": {
          "type": "string",
          "description": "Optional display format for the value"
        },
        "formattedValue": {
          "type": "string",
          "description": "Value after applying the format string"
        }
      }
    }
  }
}