{
  "id": "@typed/router/Path#getSchemaFields",
  "canonicalId": "@typed/router/Path#getSchemaFields",
  "symbol": {
    "id": "@typed/router/Path#getSchemaFields",
    "packageName": "@typed/router",
    "moduleName": "Path",
    "exportName": "getSchemaFields",
    "kind": "function",
    "signatures": [
      "export declare function getSchemaFields<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    requiredFields: [\n        string,\n        Schema.Top\n    ][];\n    optionalFields: [\n        Schema.Record.Key,\n        Schema.Top\n    ][];\n    queryParams: [\n        string,\n        {\n            readonly requiredFields: Array<[\n                string,\n                Schema.Top\n            ]>;\n            readonly optionalFields: Array<[\n                Schema.Record.Key,\n                Schema.Top\n            ]>;\n        }\n    ][];\n};"
    ],
    "summary": "Collects route schema fields from ordered Path AST nodes.",
    "sections": {
      "Why": "Schema derivation remains inspectable before record construction.",
      "Ownership and lifetime": "`getSchemaFields` walks the supplied ASTs immediately and returns fresh required/optional field arrays containing the discovered Schema references."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/Path.ts",
      "line": 907
    },
    "since": "1.0.0",
    "category": "Parameter schemas"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/Path#getSchemaFields",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": "Path",
    "consumerSpecifier": "@typed/router/Path",
    "exportName": "getSchemaFields",
    "qualifiedName": "getSchemaFields",
    "declarationKey": "declaration:75e13e6a9e7cf130827b7d62",
    "family": "function",
    "signatures": [
      "export declare function getSchemaFields<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    requiredFields: [\n        string,\n        Schema.Top\n    ][];\n    optionalFields: [\n        Schema.Record.Key,\n        Schema.Top\n    ][];\n    queryParams: [\n        string,\n        {\n            readonly requiredFields: Array<[\n                string,\n                Schema.Top\n            ]>;\n            readonly optionalFields: Array<[\n                Schema.Record.Key,\n                Schema.Top\n            ]>;\n        }\n    ][];\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Path.ts",
        "start": {
          "line": 907,
          "column": 1
        },
        "end": {
          "line": 962,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:75e13e6a9e7cf130827b7d62",
    "name": "getSchemaFields",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function getSchemaFields<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    requiredFields: [\n        string,\n        Schema.Top\n    ][];\n    optionalFields: [\n        Schema.Record.Key,\n        Schema.Top\n    ][];\n    queryParams: [\n        string,\n        {\n            readonly requiredFields: Array<[\n                string,\n                Schema.Top\n            ]>;\n            readonly optionalFields: Array<[\n                Schema.Record.Key,\n                Schema.Top\n            ]>;\n        }\n    ][];\n};"
        ],
        "typeParameters": [
          "const Parts extends ReadonlyArray<PathAst>"
        ],
        "sourceSpans": [
          {
            "file": "packages/router/src/Path.ts",
            "start": {
              "line": 907,
              "column": 1
            },
            "end": {
              "line": 962,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function getSchemaFields<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    requiredFields: [\n        string,\n        Schema.Top\n    ][];\n    optionalFields: [\n        Schema.Record.Key,\n        Schema.Top\n    ][];\n    queryParams: [\n        string,\n        {\n            readonly requiredFields: Array<[\n                string,\n                Schema.Top\n            ]>;\n            readonly optionalFields: Array<[\n                Schema.Record.Key,\n                Schema.Top\n            ]>;\n        }\n    ][];\n};"
    ],
    "typeParameters": [
      "const Parts extends ReadonlyArray<PathAst>"
    ],
    "summary": "Collects route schema fields from ordered Path AST nodes.",
    "sections": {
      "Why": "Schema derivation remains inspectable before record construction.",
      "Ownership and lifetime": "`getSchemaFields` walks the supplied ASTs immediately and returns fresh required/optional field arrays containing the discovered Schema references."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/Path.ts",
        "start": {
          "line": 907,
          "column": 1
        },
        "end": {
          "line": 962,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Parameter schemas"
  }
}
