/** * JSON Schema definitions for LLM responses. * * Passing these schemas to completeJSON forces the model to return * the correct top-level structure (e.g. an array instead of a single object). * See: https://github.com/clay-good/openlore/issues/26 */ export declare const STAGE2_ENTITY_SCHEMA: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "description", "properties", "relationships", "validations", "scenarios"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly properties: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "type"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly type: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly required: { readonly type: "boolean"; }; }; }; }; readonly relationships: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["targetEntity", "type"]; readonly properties: { readonly targetEntity: { readonly type: "string"; }; readonly type: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; }; }; }; readonly validations: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly scenarios: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "given", "when", "then"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly given: { readonly type: "string"; }; readonly when: { readonly type: "string"; }; readonly then: { readonly type: "string"; }; readonly and: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; }; }; readonly location: { readonly type: "string"; }; }; }; }; export declare const STAGE3_SERVICE_SCHEMA: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "purpose", "operations", "dependencies", "sideEffects", "domain"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly purpose: { readonly type: "string"; }; readonly operations: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "description", "scenarios"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly inputs: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly outputs: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly functionName: { readonly type: "string"; }; readonly scenarios: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "given", "when", "then"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly given: { readonly type: "string"; }; readonly when: { readonly type: "string"; }; readonly then: { readonly type: "string"; }; readonly and: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; }; }; }; }; }; readonly dependencies: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly sideEffects: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly domain: { readonly type: "string"; }; }; }; }; export declare const STAGE4_ENDPOINT_SCHEMA: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["method", "path", "purpose", "scenarios"]; readonly properties: { readonly method: { readonly type: "string"; }; readonly path: { readonly type: "string"; }; readonly purpose: { readonly type: "string"; }; readonly authentication: { readonly type: "string"; }; readonly requestSchema: { readonly type: "object"; }; readonly responseSchema: { readonly type: "object"; }; readonly scenarios: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "given", "when", "then"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly given: { readonly type: "string"; }; readonly when: { readonly type: "string"; }; readonly then: { readonly type: "string"; }; readonly and: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; }; }; readonly relatedEntity: { readonly type: "string"; }; }; }; }; export declare const STAGE6_ADR_SCHEMA: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["id", "title", "status", "context", "decision", "consequences", "alternatives", "relatedLayers", "relatedDomains"]; readonly properties: { readonly id: { readonly type: "string"; }; readonly title: { readonly type: "string"; }; readonly status: { readonly type: "string"; }; readonly context: { readonly type: "string"; }; readonly decision: { readonly type: "string"; }; readonly consequences: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly alternatives: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly relatedLayers: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly relatedDomains: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; }; }; export declare const SUBSPEC_SCHEMA: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "callee", "purpose", "operations"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly callee: { readonly type: "string"; }; readonly purpose: { readonly type: "string"; }; readonly operations: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "description", "scenarios"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly description: { readonly type: "string"; }; readonly inputs: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly outputs: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; readonly functionName: { readonly type: "string"; }; readonly scenarios: { readonly type: "array"; readonly items: { readonly type: "object"; readonly required: readonly ["name", "given", "when", "then"]; readonly properties: { readonly name: { readonly type: "string"; }; readonly given: { readonly type: "string"; }; readonly when: { readonly type: "string"; }; readonly then: { readonly type: "string"; }; readonly and: { readonly type: "array"; readonly items: { readonly type: "string"; }; }; }; }; }; }; }; }; }; }; }; //# sourceMappingURL=schemas.d.ts.map