{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-order-sign-response-wrapper-schema.json",
  "title": "OrderSignResponseWrapper",
  "description": "Wrapper for Order Sign response",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-ordersign-api-openapi.yml#/components/schemas/OrderSignResponseWrapper",
  "type": "object",
  "properties": {
    "cards": {
      "type": "array",
      "description": "List of CDS Hooks cards",
      "items": {
        "$ref": "#/$defs/Card"
      }
    },
    "systemActions": {
      "type": "array",
      "description": "System actions returned by CDS service",
      "items": {
        "type": "object"
      }
    }
  },
  "$defs": {
    "Card": {
      "type": "object",
      "description": "CDS Hooks card response",
      "properties": {
        "summary": {
          "type": "string",
          "description": "Short summary of the card"
        },
        "indicator": {
          "type": "string",
          "description": "Severity indicator"
        },
        "detail": {
          "type": "string",
          "description": "Detailed description"
        },
        "uuid": {
          "type": "string",
          "description": "Unique card identifier"
        },
        "source": {
          "$ref": "#/$defs/Source"
        },
        "links": {
          "type": "array",
          "description": "Links for additional actions or documentation",
          "items": {
            "$ref": "#/$defs/Link"
          }
        }
      }
    },
    "Link": {
      "type": "object",
      "description": "Card action link",
      "properties": {
        "label": {
          "type": "string",
          "description": "Link label"
        },
        "url": {
          "type": "string",
          "description": "Link URL"
        },
        "type": {
          "type": "string",
          "description": "Link type"
        },
        "appContext": {
          "type": "string",
          "description": "Application context identifier"
        }
      }
    },
    "Source": {
      "type": "object",
      "description": "Source information for the card",
      "properties": {
        "label": {
          "type": "string",
          "description": "Source label"
        },
        "url": {
          "type": "string",
          "description": "Source URL"
        }
      }
    }
  }
}