{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/0latency-ai/json-schema/0latency-ai-schema-request-schema.json",
  "title": "SchemaRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/0latency-ai-schemas-api-openapi.yml#/components/schemas/SchemaRequest",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Name"
    },
    "schema": {
      "additionalProperties": true,
      "type": "object",
      "title": "Schema"
    },
    "extraction_prompt": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Extraction Prompt"
    }
  },
  "type": "object",
  "required": [
    "name",
    "schema"
  ]
}