{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cubenexus-inc/main/json-schema/cubenexus-inc-grains-by-units-body-schema.json",
  "title": "GrainsByUnitsBody",
  "x-generated": "2026-10-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubenexus-inc-openapi.json#/components/schemas/GrainsByUnitsBody",
  "properties": {
    "unit_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Unit Ids"
    },
    "catalog": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Catalog"
    },
    "schema": {
      "type": "string",
      "title": "Schema",
      "default": "grains"
    },
    "table": {
      "type": "string",
      "title": "Table",
      "default": "enesol_unit_grains"
    },
    "limit": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Limit"
    }
  },
  "type": "object"
}