{
  "id": "@typed/router/Path#getSchemas",
  "canonicalId": "@typed/router/Path#getSchemas",
  "symbol": {
    "id": "@typed/router/Path#getSchemas",
    "packageName": "@typed/router",
    "moduleName": "Path",
    "exportName": "getSchemas",
    "kind": "function",
    "signatures": [
      "export declare function getSchemas<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    readonly pathSchema: Schema.Top;\n    readonly querySchema: Schema.Struct<{\n        [k: string]: Schema.Top;\n    }>;\n    readonly paramsSchema: Schema.StructWithRest<Schema.Struct<{\n        readonly [x: string]: Schema.Top;\n    }>, Schema.$Record<Schema.Record.Key, Schema.Top>[]>;\n};"
    ],
    "summary": "Builds combined, path-only, and query-only schemas from Path AST nodes.",
    "sections": {
      "Why": "Consumers can decode the exact projection they need without reparsing the route.",
      "Ownership and lifetime": "`getSchemas` constructs and returns immutable Effect Schema values immediately. Any services are required later by the Effect that executes those Schemas."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/router/src/Path.ts",
      "line": 977
    },
    "since": "1.0.0",
    "category": "Parameter schemas"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/router/Path#getSchemas",
    "packageName": "@typed/router",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Path",
    "consumerSpecifier": "@typed/router/Path",
    "exportName": "getSchemas",
    "qualifiedName": "getSchemas",
    "declarationKey": "declaration:1c8a0040a3ae68a03263ed2c",
    "family": "function",
    "signatures": [
      "export declare function getSchemas<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    readonly pathSchema: Schema.Top;\n    readonly querySchema: Schema.Struct<{\n        [k: string]: Schema.Top;\n    }>;\n    readonly paramsSchema: Schema.StructWithRest<Schema.Struct<{\n        readonly [x: string]: Schema.Top;\n    }>, Schema.$Record<Schema.Record.Key, Schema.Top>[]>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/router/src/Path.ts",
        "start": {
          "line": 977,
          "column": 1
        },
        "end": {
          "line": 994,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:1c8a0040a3ae68a03263ed2c",
    "name": "getSchemas",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function getSchemas<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    readonly pathSchema: Schema.Top;\n    readonly querySchema: Schema.Struct<{\n        [k: string]: Schema.Top;\n    }>;\n    readonly paramsSchema: Schema.StructWithRest<Schema.Struct<{\n        readonly [x: string]: Schema.Top;\n    }>, Schema.$Record<Schema.Record.Key, Schema.Top>[]>;\n};"
        ],
        "typeParameters": [
          "const Parts extends ReadonlyArray<PathAst>"
        ],
        "sourceSpans": [
          {
            "file": "packages/router/src/Path.ts",
            "start": {
              "line": 977,
              "column": 1
            },
            "end": {
              "line": 994,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function getSchemas<const Parts extends ReadonlyArray<PathAst>>(parts: Parts): {\n    readonly pathSchema: Schema.Top;\n    readonly querySchema: Schema.Struct<{\n        [k: string]: Schema.Top;\n    }>;\n    readonly paramsSchema: Schema.StructWithRest<Schema.Struct<{\n        readonly [x: string]: Schema.Top;\n    }>, Schema.$Record<Schema.Record.Key, Schema.Top>[]>;\n};"
    ],
    "typeParameters": [
      "const Parts extends ReadonlyArray<PathAst>"
    ],
    "summary": "Builds combined, path-only, and query-only schemas from Path AST nodes.",
    "sections": {
      "Why": "Consumers can decode the exact projection they need without reparsing the route.",
      "Ownership and lifetime": "`getSchemas` constructs and returns immutable Effect Schema values immediately. Any services are required later by the Effect that executes those Schemas."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/router/src/Path.ts",
        "start": {
          "line": 977,
          "column": 1
        },
        "end": {
          "line": 994,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Parameter schemas"
  }
}
