{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fincept-in/json-schema/fincept-in-exchange-economy-request-schema.json",
  "title": "ExchangeEconomyRequest",
  "description": "2-consumer, 2-good exchange economy",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fincept-in-quantlib-economics-api-openapi.yml#/components/schemas/ExchangeEconomyRequest",
  "properties": {
    "endowments": {
      "items": {
        "items": {
          "type": "number"
        },
        "type": "array"
      },
      "type": "array",
      "title": "Endowments"
    },
    "alphas": {
      "items": {
        "type": "number"
      },
      "type": "array",
      "title": "Alphas"
    },
    "prices": {
      "anyOf": [
        {
          "items": {
            "type": "number"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Prices"
    }
  },
  "type": "object",
  "required": [
    "endowments",
    "alphas"
  ]
}