{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/apiacre-com/json-schema/apiacre-com-federal-register-search-input-schema.json",
  "title": "FederalRegisterSearchInput",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/apiacre-com-openapi.json#/components/schemas/FederalRegisterSearchInput",
  "properties": {
    "query": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200,
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "title": "Query",
      "description": "Optional full-text Federal Register search term"
    },
    "agency_slugs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 5,
      "title": "Agency Slugs",
      "description": "Optional exact FederalRegister.gov agency slugs, such as commerce-department"
    },
    "document_types": {
      "items": {
        "type": "string",
        "enum": [
          "RULE",
          "PRORULE",
          "NOTICE",
          "PRESDOCU"
        ]
      },
      "type": "array",
      "maxItems": 4,
      "title": "Document Types",
      "description": "Optional document types: RULE, PRORULE, NOTICE, or PRESDOCU"
    },
    "published_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published From",
      "description": "Optional inclusive publication-date lower bound"
    },
    "published_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Published To",
      "description": "Optional inclusive publication-date upper bound"
    },
    "max_results": {
      "type": "integer",
      "maximum": 25.0,
      "minimum": 1.0,
      "title": "Max Results",
      "description": "Maximum newest-first documents returned",
      "default": 10
    }
  },
  "type": "object"
}