{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/debridge-com/json-schema/debridge-com-order-give-offer-request-dto-schema.json",
  "title": "OrderGiveOfferRequestDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/debridge-com-orders-api-openapi.yml#/components/schemas/OrderGiveOfferRequestDTO",
  "type": "object",
  "properties": {
    "giveChainIds": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "integer",
        "format": "int64"
      },
      "description": "If set, only orders that originated in specified chains will be in the output"
    },
    "orderStates": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/OrderState"
      },
      "description": "If set, only orders that are in specified states, will be in the output"
    },
    "unlockAuthorities": {
      "type": [
        "string",
        "null"
      ],
      "description": "If set, only orders that have a specified address as unlock authority in destination chain will be in the output\nMultiple values can be specified at the same time (with space as separator), if many values are specified, result will contain all orders that fit at least one of the criteria"
    },
    "skip": {
      "type": "integer",
      "description": "items to skip (pagination)",
      "format": "int32"
    },
    "take": {
      "type": "integer",
      "description": "Number of items to return (pagination)",
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "OrderState": {
      "enum": [
        "None",
        "Created",
        "Fulfilled",
        "SentUnlock",
        "OrderCancelled",
        "SentOrderCancel",
        "ClaimedUnlock",
        "ClaimedOrderCancel"
      ],
      "type": "string"
    }
  }
}