{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/oracle-siebel/json-schema/oracle-siebel-order-schema.json",
  "title": "Order",
  "description": "A Siebel CRM Order Entry business component record representing a sales order",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/oracle-siebel-orders-api-openapi.yml#/components/schemas/Order",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique row identifier for the order record"
    },
    "Order Number": {
      "type": "string",
      "description": "Unique order number"
    },
    "Revision": {
      "type": "string",
      "description": "Order revision number"
    },
    "Status": {
      "type": "string",
      "description": "Order status"
    },
    "Order Type": {
      "type": "string",
      "description": "Type classification of the order"
    },
    "Account": {
      "type": "string",
      "description": "Associated account name"
    },
    "Account Id": {
      "type": "string",
      "description": "Row identifier of the associated account"
    },
    "Order Date": {
      "type": "string",
      "description": "Date the order was placed"
    },
    "Requested Ship Date": {
      "type": "string",
      "description": "Requested delivery date"
    },
    "Total": {
      "type": "number",
      "description": "Order total amount"
    },
    "Currency Code": {
      "type": "string",
      "description": "Currency code for the order"
    },
    "Link": {
      "type": "array",
      "description": "HATEOAS links to related resources",
      "items": {
        "$ref": "#/$defs/LinkObject"
      }
    }
  },
  "$defs": {
    "LinkObject": {
      "type": "object",
      "description": "HATEOAS link object providing navigation references to related Siebel REST API resources",
      "properties": {
        "rel": {
          "type": "string",
          "description": "Relationship type (self, child, parent)",
          "enum": [
            "self",
            "child",
            "parent"
          ]
        },
        "href": {
          "type": "string",
          "format": "uri",
          "description": "Full URL to the related resource"
        },
        "name": {
          "type": "string",
          "description": "Name of the related business component"
        }
      }
    }
  }
}