{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiacre-com/json-schema/apiacre-com-us-contract-search-input-schema.json",
  "title": "UsContractSearchInput",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apiacre-com-openapi.json#/components/schemas/UsContractSearchInput",
  "properties": {
    "recipient_query": {
      "type": "string",
      "maxLength": 120,
      "minLength": 2,
      "title": "Recipient Query",
      "description": "Recipient organization name, UEI, or legacy DUNS to search across public USAspending prime-contract records"
    },
    "start_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Date",
      "description": "Optional inclusive award-action lower bound; defaults to five years before end_date"
    },
    "end_date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Date",
      "description": "Optional inclusive award-action upper bound; defaults to today"
    },
    "minimum_award_amount": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1000000000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Minimum Award Amount",
      "description": "Optional minimum current aggregate contract-award amount in whole USD"
    },
    "maximum_award_amount": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 1000000000000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Maximum Award Amount",
      "description": "Optional maximum current aggregate contract-award amount in whole USD"
    },
    "max_results": {
      "type": "integer",
      "maximum": 25.0,
      "minimum": 1.0,
      "title": "Max Results",
      "description": "Maximum highest-award-amount prime contracts returned",
      "default": 10
    }
  },
  "type": "object",
  "required": [
    "recipient_query"
  ]
}