{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/iasig-md/json-schema/iasig-md-post-v1-create-order-response-schema.json",
  "title": "PostV1CreateOrderResponse",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/iasig-md-openapi-generated.yml#/components/schemas/PostV1CreateOrderResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Order identifier"
    },
    "status": {
      "type": "string",
      "description": "Order status (draft, failed, etc.)"
    },
    "description": {
      "type": "string",
      "description": "Human readable description"
    },
    "price": {
      "type": "number",
      "description": "Order price"
    },
    "currency": {
      "type": "string",
      "description": "Currency code"
    },
    "error": {
      "type": "object",
      "description": "Error object present on failed orders"
    },
    "error.code": {
      "type": "string",
      "description": "Error code"
    },
    "error.message": {
      "type": "string",
      "description": "Error message"
    },
    "error.active_from": {
      "type": "string",
      "description": "First day of the active vignette (vignette_already_active only)"
    },
    "error.active_until": {
      "type": "string",
      "description": "Last day of the active vignette (vignette_already_active only)"
    },
    "payment_links": {
      "type": "object",
      "description": "Payment links object (only on draft orders when enabled)"
    },
    "payment_links.card": {
      "type": "string",
      "description": "Card payment URL"
    },
    "payment_links.mia": {
      "type": "string",
      "description": "MIA instant payment URL"
    }
  }
}