{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ccp-games/json-schema/ccp-games-contracts-public-region-id-get-schema.json",
  "title": "ContractsPublicRegionIdGet",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ccp-games-contracts-api-openapi.yml#/components/schemas/ContractsPublicRegionIdGet",
  "items": {
    "properties": {
      "buyout": {
        "description": "Buyout price (for Auctions only)",
        "format": "double",
        "type": "number"
      },
      "collateral": {
        "description": "Collateral price (for Couriers only)",
        "format": "double",
        "type": "number"
      },
      "contract_id": {
        "format": "int64",
        "type": "integer"
      },
      "date_expired": {
        "description": "Expiration date of the contract",
        "format": "date-time",
        "type": "string"
      },
      "date_issued": {
        "description": "Сreation date of the contract",
        "format": "date-time",
        "type": "string"
      },
      "days_to_complete": {
        "description": "Number of days to perform the contract",
        "format": "int64",
        "type": "integer"
      },
      "end_location_id": {
        "description": "End location ID (for Couriers contract)",
        "format": "int64",
        "type": "integer"
      },
      "for_corporation": {
        "description": "true if the contract was issued on behalf of the issuer's corporation",
        "type": "boolean"
      },
      "issuer_corporation_id": {
        "description": "Character's corporation ID for the issuer",
        "format": "int64",
        "type": "integer"
      },
      "issuer_id": {
        "description": "Character ID for the issuer",
        "format": "int64",
        "type": "integer"
      },
      "price": {
        "description": "Price of contract (for ItemsExchange and Auctions)",
        "format": "double",
        "type": "number"
      },
      "reward": {
        "description": "Remuneration for contract (for Couriers only)",
        "format": "double",
        "type": "number"
      },
      "start_location_id": {
        "description": "Start location ID (for Couriers contract)",
        "format": "int64",
        "type": "integer"
      },
      "title": {
        "description": "Title of the contract",
        "type": "string"
      },
      "type": {
        "description": "Type of the contract",
        "enum": [
          "unknown",
          "item_exchange",
          "auction",
          "courier",
          "loan"
        ],
        "type": "string"
      },
      "volume": {
        "description": "Volume of items in the contract",
        "format": "double",
        "type": "number"
      }
    },
    "required": [
      "contract_id",
      "issuer_id",
      "issuer_corporation_id",
      "type",
      "date_issued",
      "date_expired"
    ],
    "type": "object"
  },
  "type": "array"
}