{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ultralayer-ai/json-schema/ultralayer-ai-guidance-list-params-schema.json",
  "title": "GuidanceListParams",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ultralayer-ai-openapi.json#/components/schemas/GuidanceListParams",
  "properties": {
    "start_timestamp": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Timestamp",
      "description": "System timestamp; Inclusive ISO 8601"
    },
    "end_timestamp": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Timestamp",
      "description": "System timestamp; Inclusive ISO 8601; null=realtime"
    },
    "limit": {
      "type": "integer",
      "maximum": 100.0,
      "minimum": 1.0,
      "title": "Limit",
      "default": 10
    },
    "symbols": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 8,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Symbols",
      "description": "Match any."
    },
    "metric_keys": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 8,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Metric Keys",
      "description": "Match any."
    },
    "metric_key_exact_match": {
      "type": "boolean",
      "title": "Metric Key Exact Match",
      "description": "true: exact metric_keys, case-insensitive; false: case-insensitive substring. Ignored without metric_keys.",
      "default": false
    },
    "metric_basis": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "enum": [
              "gaap",
              "non_gaap",
              "unspecified"
            ]
          },
          "type": "array",
          "maxItems": 3,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Metric Basis",
      "description": "Match any."
    },
    "segments": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 8,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Segments",
      "description": "Match any. 'null' is consolidated."
    },
    "guided_period_type": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "enum": [
              "quarter",
              "fiscal_year",
              "half",
              "multi_year",
              "other"
            ]
          },
          "type": "array",
          "maxItems": 5,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Guided Period Type",
      "description": "Match any."
    },
    "guided_fiscal_year": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2100.0,
          "minimum": 1990.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Guided Fiscal Year"
    },
    "guided_fiscal_quarter": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 4.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Guided Fiscal Quarter"
    },
    "guided_period_end_from": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Guided Period End From",
      "description": "Inclusive guided period-end date."
    },
    "guided_period_end_to": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Guided Period End To",
      "description": "Inclusive guided period-end date."
    },
    "source_types": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "enum": [
              "earnings_release",
              "guidance_update",
              "interim_update",
              "earnings_call"
            ]
          },
          "type": "array",
          "maxItems": 3,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Source Types",
      "description": "Match any. Document class the observation was read from."
    },
    "revision_direction": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "enum": [
              "new",
              "raised",
              "lowered",
              "maintained",
              "withdrawn"
            ]
          },
          "type": "array",
          "maxItems": 5,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Revision Direction",
      "description": "Match any; latest observation only."
    },
    "sort": {
      "type": "string",
      "enum": [
        "timestamp",
        "guided_period_end",
        "comparable",
        "revision_delta"
      ],
      "title": "Sort",
      "description": "timestamp: recently updated; guided_period_end: period date; comparable: strongest like-for-like number in the match set; revision_delta: largest midpoint move.",
      "default": "timestamp"
    },
    "values_mode": {
      "type": "string",
      "enum": [
        "all",
        "latest"
      ],
      "title": "Values Mode",
      "description": "all: revision history, newest first; latest: newest observation only.",
      "default": "all"
    },
    "detail": {
      "type": "string",
      "enum": [
        "full",
        "standard",
        "essential"
      ],
      "title": "Detail",
      "description": "essential:quotes; standard:citable; full:all.",
      "default": "full"
    }
  },
  "additionalProperties": false,
  "type": "object"
}