{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cadencetranslate-com/main/json-schema/cadencetranslate-com-response-order-id-response-schema.json",
  "title": "Response[OrderIdResponse]",
  "x-generated": "2026-10-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cadencetranslate-com-openapi.json#/components/schemas/Response_OrderIdResponse_",
  "properties": {
    "message": {
      "type": "string",
      "title": "Message",
      "default": "Operation successful"
    },
    "success": {
      "type": "boolean",
      "title": "Success",
      "default": true
    },
    "data": {
      "anyOf": [
        {
          "$ref": "#/$defs/OrderIdResponse"
        },
        {
          "type": "null"
        }
      ]
    },
    "errors": {
      "anyOf": [
        {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Errors"
    }
  },
  "type": "object",
  "$defs": {
    "OrderIdResponse": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        }
      },
      "type": "object",
      "required": [
        "id"
      ],
      "title": "OrderIdResponse",
      "description": "Slim response for the create endpoint — only the order id."
    }
  }
}