{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://zaltric.com/ucp/schemas/reorder.json",
  "name": "com.zaltric.shopping.reorder",
  "version": "2026-08-25",
  "title": "Reorder",
  "description": "Capability schema for com.zaltric.shopping.reorder: a signed-in customer's recent confirmed orders on a shop, and a basket built from one of them. Documented at https://zaltric.com/ucp/reorder/. This version declares no configuration, so a business declaration carries none.",
  "$defs": {
    "com.zaltric.shopping.reorder": {
      "platform_schema": {
        "title": "Reorder (Platform)",
        "description": "Platform-level declaration of the reorder capability. No configuration.",
        "allOf": [
          { "$ref": "https://ucp.dev/2026-08-25/schemas/capability.json#/$defs/platform_schema" }
        ]
      },
      "business_schema": {
        "title": "Reorder (Business)",
        "description": "Business-level declaration of the reorder capability. This version has no configuration: a config, if present, must be an empty object.",
        "allOf": [
          { "$ref": "https://ucp.dev/2026-08-25/schemas/capability.json#/$defs/business_schema" },
          {
            "type": "object",
            "properties": {
              "config": { "type": "object", "additionalProperties": false }
            }
          }
        ]
      }
    }
  }
}
