{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/machinesignal-it/json-schema/machinesignal-it-order-intent-accepted-response-schema.json",
  "title": "OrderIntentAcceptedResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api.machinesignal.it-openapi.json#/components/schemas/OrderIntentAcceptedResponse",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "order_intent_id",
    "product_code",
    "order_tracking"
  ],
  "properties": {
    "decision": {
      "type": "string"
    },
    "order_intent_id": {
      "type": "string",
      "pattern": "^order_intent_"
    },
    "product_code": {
      "enum": [
        "MS-DEC-250",
        "MS-ACT-25"
      ]
    },
    "order_status": {
      "type": "string"
    },
    "order_tracking": {
      "type": "object",
      "additionalProperties": true,
      "required": [
        "order_receipt",
        "status_url",
        "next_machine_action"
      ],
      "properties": {
        "order_receipt": {
          "type": "string",
          "description": "Private bearer receipt. Never log, publish or reuse it outside this order."
        },
        "status_url": {
          "type": "string",
          "format": "uri"
        },
        "next_machine_action": {
          "type": "string"
        },
        "checkout_handoff_status": {
          "type": "string"
        },
        "dataset_upload_authorized": {
          "type": "boolean"
        }
      }
    }
  }
}