{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-edge/refs/heads/main/json-structure/addons-api-product-structure.json",
  "name": "Product",
  "description": "An extension product in the Microsoft Edge Add-ons store",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Product identifier"
    },
    "name": {
      "type": "string",
      "description": "Extension name"
    },
    "description": {
      "type": "string",
      "description": "Extension description"
    },
    "status": {
      "type": "string",
      "description": "Product publishing status",
      "enum": ["Draft", "InReview", "Published", "Unpublished", "Rejected"]
    },
    "version": {
      "type": "string",
      "description": "Current published version"
    },
    "lastUpdatedUtc": {
      "type": "datetime",
      "description": "Last update timestamp"
    },
    "category": {
      "type": "string",
      "description": "Store category"
    }
  }
}
