{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aidemos-com/json-schema/aidemos-com-order-in-schema.json",
  "title": "OrderIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aidemos-com-researcher-order-api-openapi.yml#/components/schemas/OrderIn",
  "properties": {
    "order": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 200,
      "minItems": 2,
      "title": "Order"
    },
    "decided_by": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2,
      "title": "Decided By"
    },
    "reason": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 20,
      "title": "Reason"
    },
    "dispute_ref": {
      "type": "string",
      "maxLength": 500,
      "minLength": 4,
      "title": "Dispute Ref"
    },
    "recorded_by": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Recorded By"
    }
  },
  "type": "object",
  "required": [
    "order",
    "decided_by",
    "reason",
    "dispute_ref"
  ]
}