{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-sample-rows-response-schema-schema.json",
  "title": "SampleRowsResponseSchema",
  "description": "Example rows to fill the grid with, and where they came from.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-agent-training-api-openapi.yml#/components/schemas/SampleRowsResponseSchema",
  "properties": {
    "inputs_changed": {
      "default": false,
      "description": "A remembered set was discarded because the agent's inputs no longer matched it, so these are fresh.",
      "title": "Inputs Changed",
      "type": "boolean"
    },
    "origin": {
      "$ref": "#/$defs/SampleRowsOrigin",
      "description": "How the values were found: read out of one of the org's own tables, or written by the model."
    },
    "remembered": {
      "default": false,
      "description": "These were replayed from the agent rather than found afresh.",
      "title": "Remembered",
      "type": "boolean"
    },
    "rows": {
      "description": "One set of input values per example, in offer order.",
      "items": {
        "additionalProperties": {
          "maxLength": 8000,
          "type": "string"
        },
        "propertyNames": {
          "maxLength": 100,
          "minLength": 1
        },
        "type": "object"
      },
      "title": "Rows",
      "type": "array"
    },
    "table_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "The table the values came from; null when they were generated.",
      "title": "Table Name"
    }
  },
  "required": [
    "rows",
    "origin"
  ],
  "type": "object",
  "$defs": {
    "SampleRowsOrigin": {
      "description": "Where an agent's remembered example rows were found.",
      "enum": [
        "table",
        "generated"
      ],
      "title": "SampleRowsOrigin",
      "type": "string"
    }
  }
}