changedOutput schema / (root)
Previous value: -{
- "additionalProperties": false,
- "oneOf": [
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "project"
- ]
- },
- {
- "required": [
- "framework"
- ]
- },
- {
- "required": [
- "domains"
- ]
- },
- {
- "required": [
- "capabilities"
- ]
- },
- {
- "required": [
- "elements"
- ]
- },
- {
- "required": [
- "meaningGate"
- ]
- },
- {
- "required": [
- "extractionContract"
- ]
- },
- {
- "required": [
- "semanticEvidence"
- ]
- },
- {
- "required": [
- "configurationEvidence"
- ]
- },
- {
- "required": [
- "proposalValidation"
- ]
- },
- {
- "required": [
- "suggestedRelations"
- ]
- },
- {
- "required": [
- "skipped"
- ]
- }
- ]
- },
- "required": [
- "delivery",
- "canWrite",
- "sourceEvidence"
- ]
- },
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "delivery"
- ]
- },
- {
- "required": [
- "canWrite"
- ]
- }
- ]
- },
- "required": [
- "framework",
- "domains",
- "capabilities",
- "elements",
- "meaningGate",
- "extractionContract",
- "semanticEvidence",
- "configurationEvidence",
- "proposalValidation",
- "suggestedRelations",
- "skipped"
- ]
- }
- ],
- "properties": {
- "canWrite": {
- "const": false,
- "type": "boolean"
- },
- "capabilities": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "domain": {
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "configurationEvidence": {
- "additionalProperties": false,
- "properties": {
- "claimBoundary": {
- "additionalProperties": false,
- "properties": {
- "compileTimePredicateLocations": {
- "type": "boolean"
- },
- "importDependency": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "macroConsumers": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "predicateEvaluation": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "runtimeImpact": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "semanticDependency": {
- "enum": [
- false
- ],
- "type": "boolean"
- }
- },
- "required": [
- "compileTimePredicateLocations",
- "predicateEvaluation",
- "runtimeImpact",
- "importDependency",
- "macroConsumers",
- "semanticDependency"
- ],
- "type": "object"
- },
- "contract": {
- "enum": [
- "rustFeatureConfigurationEvidence:v1"
- ],
- "type": "string"
- },
- "coverage": {
- "additionalProperties": false,
- "properties": {
- "buildScriptsExecuted": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "macroExpansion": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "packageLimit": {
- "minimum": 1,
- "type": "integer"
- },
- "packagesDiscovered": {
- "minimum": 0,
- "type": "integer"
- },
- "packagesLimited": {
- "type": "boolean"
- },
- "packagesScanned": {
- "minimum": 0,
- "type": "integer"
- },
- "predicateEvaluation": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "predicateForms": {
- "items": {
- "enum": [
- "cfg",
- "cfg_attr"
- ],
- "type": "string"
- },
- "maxItems": 2,
- "minItems": 2,
- "type": "array",
- "uniqueItems": true
- },
- "scope": {
- "enum": [
- "literal_cfg_feature_attributes_in_conventional_cargo_targets"
- ],
- "type": "string"
- },
- "sourceFileLimit": {
- "minimum": 1,
- "type": "integer"
- },
- "sourceFilesDiscovered": {
- "minimum": 0,
- "type": "integer"
- },
- "sourceFilesLimited": {
- "type": "boolean"
- },
- "sourceFilesScanned": {
- "minimum": 0,
- "type": "integer"
- },
- "sourceFilesSkipped": {
- "minimum": 0,
- "type": "integer"
- },
- "workspaceMembersConsidered": {
- "maximum": 100,
- "minimum": 0,
- "type": "integer"
- },
- "workspaceMembersDeclared": {
- "minimum": 0,
- "type": "integer"
- },
- "workspaceMembersEligible": {
- "minimum": 0,
- "type": "integer"
- },
- "workspaceMembersLimited": {
- "type": "boolean"
- },
- "workspaceMembersSkipped": {
- "minimum": 0,
- "type": "integer"
- },
- "workspaceMode": {
- "enum": [
- "root_package",
- "literal_direct_members"
- ],
- "type": "string"
- }
- },
- "required": [
- "scope",
- "workspaceMode",
- "workspaceMembersDeclared",
- "workspaceMembersConsidered",
- "workspaceMembersLimited",
- "workspaceMembersEligible",
- "workspaceMembersSkipped",
- "packageLimit",
- "packagesDiscovered",
- "packagesScanned",
- "packagesLimited",
- "sourceFilesDiscovered",
- "sourceFilesScanned",
- "sourceFilesSkipped",
- "sourceFileLimit",
- "sourceFilesLimited",
- "predicateForms",
- "predicateEvaluation",
- "macroExpansion",
- "buildScriptsExecuted"
- ],
- "type": "object"
- },
- "limitations": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "packages": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "features": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "byForm": {
- "additionalProperties": false,
- "properties": {
- "cfg": {
- "minimum": 0,
- "type": "integer"
- },
- "cfg_attr": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "cfg",
- "cfg_attr"
- ],
- "type": "object"
- },
- "byPolarity": {
- "additionalProperties": false,
- "properties": {
- "compound": {
- "minimum": 0,
- "type": "integer"
- },
- "negative": {
- "minimum": 0,
- "type": "integer"
- },
- "positive": {
- "minimum": 0,
- "type": "integer"
- },
- "unknown": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "positive",
- "negative",
- "compound",
- "unknown"
- ],
- "type": "object"
- },
- "directMappings": {
- "items": {
- "maxLength": 512,
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array"
- },
- "directMappingsCount": {
- "minimum": 0,
- "type": "integer"
- },
- "directMappingsLimited": {
- "type": "boolean"
- },
- "name": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "referenceCount": {
- "minimum": 0,
- "type": "integer"
- },
- "references": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "form": {
- "enum": [
- "cfg",
- "cfg_attr"
- ],
- "type": "string"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "meaning": {
- "enum": [
- "conditional_inclusion",
- "conditional_attribute"
- ],
- "type": "string"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "polarity": {
- "enum": [
- "positive",
- "negative",
- "compound",
- "unknown"
- ],
- "type": "string"
- },
- "predicate": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "sourceRole": {
- "enum": [
- "production",
- "test",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "path",
- "line",
- "form",
- "meaning",
- "polarity",
- "predicate",
- "sourceRole"
- ],
- "type": "object"
- },
- "maxItems": 5,
- "type": "array"
- },
- "referencesLimited": {
- "type": "boolean"
- }
- },
- "required": [
- "name",
- "directMappingsCount",
- "directMappings",
- "directMappingsLimited",
- "referenceCount",
- "byForm",
- "byPolarity",
- "references",
- "referencesLimited"
- ],
- "type": "object"
- },
- "maxItems": 48,
- "type": "array"
- },
- "featuresDeclared": {
- "minimum": 0,
- "type": "integer"
- },
- "featuresLimited": {
- "type": "boolean"
- },
- "manifest": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "packageName": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "manifest",
- "packageName",
- "featuresDeclared",
- "featuresLimited",
- "features"
- ],
- "type": "object"
- },
- "maxItems": 24,
- "type": "array"
- },
- "status": {
- "enum": [
- "not_present",
- "unsupported",
- "observed",
- "limited"
- ],
- "type": "string"
- },
- "unsupportedPredicates": {
- "additionalProperties": false,
- "properties": {
- "count": {
- "minimum": 0,
- "type": "integer"
- },
- "limited": {
- "type": "boolean"
- },
- "samples": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "form": {
- "enum": [
- "cfg",
- "cfg_attr"
- ],
- "type": "string"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "predicate": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "reason": {
- "enum": [
- "non-literal-feature-name",
- "feature-not-declared-in-scanned-table"
- ],
- "type": "string"
- }
- },
- "required": [
- "path",
- "line",
- "form",
- "predicate",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- }
- },
- "required": [
- "count",
- "samples",
- "limited"
- ],
- "type": "object"
- },
- "unsupportedWorkspaceMembers": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "member": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "reason": {
- "enum": [
- "invalid-member-path",
- "glob-not-supported",
- "outside-root",
- "manifest-not-found",
- "package-table-not-found"
- ],
- "type": "string"
- }
- },
- "required": [
- "member",
- "reason"
- ],
- "type": "object"
- },
- "maxItems": 50,
- "type": "array"
- },
- "unsupportedWorkspaceMembersLimited": {
- "type": "boolean"
- },
- "writePolicy": {
- "additionalProperties": false,
- "properties": {
- "automaticRelation": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "humanApprovalRequired": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "writeAllowed": {
- "enum": [
- false
- ],
- "type": "boolean"
- }
- },
- "required": [
- "automaticRelation",
- "writeAllowed",
- "humanApprovalRequired"
- ],
- "type": "object"
- }
- },
- "required": [
- "contract",
- "status",
- "claimBoundary",
- "coverage",
- "packages",
- "unsupportedWorkspaceMembers",
- "unsupportedWorkspaceMembersLimited",
- "unsupportedPredicates",
- "writePolicy",
- "limitations"
- ],
- "type": "object"
- },
- "delivery": {
- "const": "source_only",
- "type": "string"
- },
- "domains": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "elements": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "domain": {
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title",
- "path",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "extractionContract": {
- "additionalProperties": false,
- "properties": {
- "assertionPolicy": {
- "additionalProperties": false,
- "properties": {
- "automaticBusinessAssertions": {
- "enum": [
- 0
- ],
- "type": "integer"
- },
- "humanApprovalRequired": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "persistedOntologyMeanings": {
- "enum": [
- "shared"
- ],
- "type": "string"
- },
- "readmeAndFolderMeanings": {
- "enum": [
- "proposed"
- ],
- "type": "string"
- },
- "sourceFacts": {
- "enum": [
- "observed"
- ],
- "type": "string"
- }
- },
- "required": [
- "sourceFacts",
- "readmeAndFolderMeanings",
- "persistedOntologyMeanings",
- "automaticBusinessAssertions",
- "humanApprovalRequired"
- ],
- "type": "object"
- },
- "competencyQuestions": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "enum": [
- "scope",
- "domains",
- "abilities",
- "evidence",
- "impact"
- ],
- "type": "string"
- },
- "priority": {
- "enum": [
- "core"
- ],
- "type": "string"
- },
- "question": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "requiredWitnesses": {
- "items": {
- "enum": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "type": {
- "enum": [
- "scoping",
- "validation",
- "relationship"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "type",
- "question",
- "priority",
- "requiredWitnesses"
- ],
- "type": "object"
- },
- "minItems": 1,
- "type": "array"
- },
- "limitations": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- },
- "nextStep": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "qualityGates": {
- "additionalProperties": false,
- "properties": {
- "approvalRequired": {
- "enum": [
- true
- ],
- "type": "boolean"
- },
- "implementationEvidenceAvailable": {
- "type": "boolean"
- },
- "proposedBusinessConcepts": {
- "minimum": 0,
- "type": "integer"
- },
- "provenanceAttached": {
- "type": "boolean"
- },
- "scopeCandidateAvailable": {
- "type": "boolean"
- },
- "semanticEvidenceAvailable": {
- "type": "boolean"
- },
- "semanticEvidenceReviewRequired": {
- "minimum": 0,
- "type": "integer"
- },
- "sharedBusinessConceptsAvailable": {
- "type": "boolean"
- },
- "typedRelationsProposed": {
- "minimum": 0,
- "type": "integer"
- },
- "uncertaintyExplicit": {
- "enum": [
- true
- ],
- "type": "boolean"
- }
- },
- "required": [
- "scopeCandidateAvailable",
- "sharedBusinessConceptsAvailable",
- "proposedBusinessConcepts",
- "implementationEvidenceAvailable",
- "semanticEvidenceAvailable",
- "semanticEvidenceReviewRequired",
- "typedRelationsProposed",
- "provenanceAttached",
- "uncertaintyExplicit",
- "approvalRequired"
- ],
- "type": "object"
- },
- "standard": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "grounded-in-existing-ontology",
- "evidence-gathering",
- "scope-discovery-required"
- ],
- "type": "string"
- }
- },
- "required": [
- "standard",
- "status",
- "assertionPolicy",
- "competencyQuestions",
- "qualityGates",
- "limitations",
- "nextStep"
- ],
- "type": "object"
- },
- "framework": {
- "enum": [
- "fsd",
- "next",
- "generic"
- ],
- "type": "string"
- },
- "meaningGate": {
- "additionalProperties": false,
- "properties": {
- "businessOntology": {
- "additionalProperties": false,
- "properties": {
- "capabilities": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array"
- },
- "domains": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array"
- },
- "evidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "domain",
- "capability"
- ],
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "kind",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "domains",
- "capabilities",
- "evidence"
- ],
- "type": "object"
- },
- "implementationEvidence": {
- "additionalProperties": false,
- "properties": {
- "elements": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array"
- },
- "reviewRequiredCapabilities": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "reason": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "reason",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "elements",
- "reviewRequiredCapabilities"
- ],
- "type": "object"
- },
- "policy": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "proposedBusinessOntology": {
- "additionalProperties": false,
- "properties": {
- "capabilities": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "definition": {
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "implementation": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "evidenceSources": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "excludes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "includes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 24,
- "type": "array"
- },
- "reason": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "uncertainty": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "reason",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "domains": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "definition": {
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "implementation": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "source"
- ],
- "type": "object"
- },
- "evidenceSources": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "excludes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "includes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 24,
- "type": "array"
- },
- "reason": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "uncertainty": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "reason",
- "evidence"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "domains",
- "capabilities"
- ],
- "type": "object"
- },
- "reviewQuestions": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array"
- },
- "sourceStructureRole": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "policy",
- "sourceStructureRole",
- "businessOntology",
- "proposedBusinessOntology",
- "implementationEvidence",
- "reviewQuestions"
- ],
- "type": "object"
- },
- "project": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "definition": {
- "maxLength": 1200,
- "minLength": 1,
- "type": "string"
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 6,
- "type": "array"
- },
- "excludes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "includes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 12,
- "type": "array"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "uncertainty": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "title"
- ],
- "type": "object"
- },
- "proposalValidation": {
- "additionalProperties": false,
- "properties": {
- "canWrite": {
- "type": "boolean"
- },
- "constructionLifecycle": {
- "additionalProperties": false,
- "properties": {
- "admission": {
- "additionalProperties": false,
- "properties": {
- "autoWriteCandidate": {
- "type": "boolean"
- },
- "contract": {
- "enum": [
- "ontologyConstructionAdmission:v1"
- ],
- "type": "string"
- },
- "diagnosticCodes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "humanAcceptanceRequired": {
- "type": "boolean"
- },
- "mode": {
- "enum": [
- "shadow"
- ],
- "type": "string"
- },
- "reviewItems": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "tier": {
- "enum": [
- "self_qualified",
- "partial_visible_gap",
- "human_review_required",
- "hard_block"
- ],
- "type": "string"
- }
- },
- "required": [
- "contract",
- "mode",
- "tier",
- "autoWriteCandidate",
- "humanAcceptanceRequired",
- "reviewItems",
- "diagnosticCodes"
- ],
- "type": "object"
- },
- "contract": {
- "enum": [
- "ontologyConstructionLifecycle:v1"
- ],
- "type": "string"
- },
- "diagnostics": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "message": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "phase": {
- "enum": [
- "purpose_authority",
- "approved_cqs",
- "evidence_reuse",
- "small_conceptual_slice",
- "semantic_structural_tests",
- "independent_source_hidden",
- "human_plan_approval",
- "prior_cq_regression"
- ],
- "type": "string"
- }
- },
- "required": [
- "code",
- "phase",
- "message"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "firstBlockingPhase": {
- "anyOf": [
- {
- "enum": [
- "purpose_authority",
- "approved_cqs",
- "evidence_reuse",
- "small_conceptual_slice",
- "semantic_structural_tests",
- "independent_source_hidden",
- "human_plan_approval",
- "prior_cq_regression"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "nextAction": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "phases": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "diagnosticCodes": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "id": {
- "enum": [
- "purpose_authority",
- "approved_cqs",
- "evidence_reuse",
- "small_conceptual_slice",
- "semantic_structural_tests",
- "independent_source_hidden",
- "human_plan_approval",
- "prior_cq_regression"
- ],
- "type": "string"
- },
- "status": {
- "enum": [
- "passed",
- "blocked",
- "awaiting_approval",
- "gap_accepted",
- "pending_post_write"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "status",
- "diagnosticCodes"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 8,
- "type": "array"
- },
- "planDigest": {
- "anyOf": [
- {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "planRevision": {
- "minimum": 1,
- "type": "integer"
- },
- "proposalCoverage": {
- "additionalProperties": false,
- "properties": {
- "coveredCount": {
- "minimum": 0,
- "type": "integer"
- },
- "expectedCount": {
- "minimum": 0,
- "type": "integer"
- },
- "missingRefs": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "sourceHiddenMissingRefs": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "status": {
- "enum": [
- "not_measured",
- "complete",
- "mismatch"
- ],
- "type": "string"
- },
- "unexpectedRefs": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- }
- },
- "required": [
- "status",
- "expectedCount",
- "coveredCount",
- "missingRefs",
- "unexpectedRefs",
- "sourceHiddenMissingRefs"
- ],
- "type": "object"
- },
- "qualificationStatus": {
- "enum": [
- "qualified",
- "not_qualified",
- "invalid"
- ],
- "type": "string"
- },
- "requiredGapIds": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "sourceDigest": {
- "anyOf": [
- {
- "pattern": "^sha256:[a-f0-9]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "writeEligibility": {
- "enum": [
- "blocked",
- "reviewable",
- "executable"
- ],
- "type": "string"
- }
- },
- "required": [
- "contract",
- "qualificationStatus",
- "writeEligibility",
- "planDigest",
- "sourceDigest",
- "planRevision",
- "firstBlockingPhase",
- "phases",
- "diagnostics",
- "requiredGapIds",
- "proposalCoverage",
- "admission",
- "nextAction"
- ],
- "type": "object"
- },
- "findings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "message": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "severity": {
- "enum": [
- "error",
- "warning"
- ],
- "type": "string"
- },
- "sources": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "code",
- "severity",
- "path",
- "message",
- "sources"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "gates": {
- "additionalProperties": false,
- "properties": {
- "capabilityDomainsResolved": {
- "type": "boolean"
- },
- "citationsResolved": {
- "type": "boolean"
- },
- "competencyQuestionsAnswered": {
- "type": "boolean"
- },
- "competencyWitnessesResolved": {
- "type": "boolean"
- },
- "conceptsDefined": {
- "type": "boolean"
- },
- "confidenceValid": {
- "type": "boolean"
- },
- "elementDomainsResolved": {
- "type": "boolean"
- },
- "elementPathsResolved": {
- "type": "boolean"
- },
- "projectDefined": {
- "type": "boolean"
- },
- "relationsResolved": {
- "type": "boolean"
- },
- "riskyEvidenceControlled": {
- "type": "boolean"
- }
- },
- "required": [
- "projectDefined",
- "conceptsDefined",
- "citationsResolved",
- "riskyEvidenceControlled",
- "capabilityDomainsResolved",
- "elementDomainsResolved",
- "elementPathsResolved",
- "relationsResolved",
- "confidenceValid",
- "competencyQuestionsAnswered",
- "competencyWitnessesResolved"
- ],
- "type": "object"
- },
- "nextStep": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "reviewPlan": {
- "additionalProperties": false,
- "properties": {
- "competencyAnswers": {
- "additionalProperties": false,
- "properties": {
- "abilities": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "domains": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "impact": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "scope": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- }
- },
- "required": [
- "scope",
- "domains",
- "abilities",
- "evidence",
- "impact"
- ],
- "type": "object"
- },
- "concepts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "type": "string"
- },
- "domain": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "project",
- "domain",
- "capability",
- "element"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "kind",
- "title",
- "body"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "why": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type",
- "why"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "competencyAnswers"
- ],
- "type": "object"
- },
- "status": {
- "enum": [
- "not-provided",
- "pass",
- "fail"
- ],
- "type": "string"
- },
- "summary": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "minimum": 0,
- "type": "integer"
- },
- "errors": {
- "minimum": 0,
- "type": "integer"
- },
- "findings": {
- "minimum": 0,
- "type": "integer"
- },
- "relations": {
- "minimum": 0,
- "type": "integer"
- },
- "warnings": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "concepts",
- "relations",
- "findings",
- "errors",
- "warnings"
- ],
- "type": "object"
- },
- "writePlan": {
- "additionalProperties": false,
- "properties": {
- "competencyAnswers": {
- "additionalProperties": false,
- "properties": {
- "abilities": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "domains": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "evidence": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "impact": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- },
- "scope": {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "gap": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "status": {
- "enum": [
- "answered",
- "partial",
- "visible-gap"
- ],
- "type": "string"
- },
- "witnesses": {
- "additionalProperties": false,
- "properties": {
- "concepts": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 200,
- "type": "array",
- "uniqueItems": true
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "paths": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 100,
- "type": "array",
- "uniqueItems": true
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "evidence",
- "paths"
- ],
- "type": "object"
- }
- },
- "required": [
- "answer",
- "status",
- "witnesses"
- ],
- "type": "object"
- }
- },
- "required": [
- "scope",
- "domains",
- "abilities",
- "evidence",
- "impact"
- ],
- "type": "object"
- },
- "concepts": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "type": "string"
- },
- "domain": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "project",
- "domain",
- "capability",
- "element"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "slug": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "slug",
- "kind",
- "title",
- "body"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "relations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "enum": [
- "depends_on",
- "relates",
- "contains",
- "describes",
- "domains",
- "capabilities",
- "elements",
- "domain"
- ],
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "why": {
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type",
- "why"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "concepts",
- "relations",
- "competencyAnswers"
- ],
- "type": "object"
- }
- },
- "required": [
- "status",
- "canWrite",
- "summary",
- "gates",
- "findings",
- "constructionLifecycle",
- "nextStep"
- ],
- "type": "object"
- },
- "rootPath": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "semanticEvidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "excerpt": {
- "maxLength": 1200,
- "type": "string"
- },
- "excerptInfo": {
- "additionalProperties": false,
- "description": "Coverage of selected authored prose only, not the complete document. Replay nextSourceRead through analyze_repo_structure with sourceOnly:true; existing read bounds and refusals still apply.",
- "properties": {
- "firstOmittedLine": {
- "minimum": 1,
- "type": [
- "integer",
- "null"
- ]
- },
- "nextSourceRead": {
- "additionalProperties": false,
- "properties": {
- "expectedSha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "maxLines": {
- "maximum": 200,
- "minimum": 1,
- "type": "integer"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "startLine": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "path",
- "startLine",
- "maxLines",
- "expectedSha256"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "scope": {
- "enum": [
- "selected_prose"
- ],
- "type": "string"
- },
- "truncated": {
- "type": "boolean"
- }
- },
- "required": [
- "scope",
- "truncated",
- "firstOmittedLine",
- "nextSourceRead"
- ],
- "type": "object"
- },
- "headings": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 8,
- "type": "array"
- },
- "reviewRequiredEvidence": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "endLine": {
- "minimum": 1,
- "type": "integer"
- },
- "excerpt": {
- "maxLength": 400,
- "minLength": 1,
- "type": "string"
- },
- "heading": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "riskFlags": {
- "items": {
- "enum": [
- "future-state-claim",
- "negated-claim",
- "deprecated-state"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array",
- "uniqueItems": true
- },
- "startLine": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "heading",
- "startLine",
- "endLine",
- "excerpt",
- "riskFlags"
- ],
- "type": "object"
- },
- "maxItems": 4,
- "type": "array"
- },
- "riskFlags": {
- "items": {
- "enum": [
- "instruction-injection",
- "ontology-write-instruction",
- "future-state-claim",
- "negated-claim",
- "deprecated-state",
- "excerpt-truncated"
- ],
- "type": "string"
- },
- "type": "array",
- "uniqueItems": true
- },
- "role": {
- "enum": [
- "mission",
- "product-capabilities",
- "product-contract",
- "package-contract",
- "architecture",
- "agent-guidance"
- ],
- "type": "string"
- },
- "source": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "title": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "trust": {
- "enum": [
- "candidate-evidence",
- "claim-review-required",
- "untrusted-instruction"
- ],
- "type": "string"
- }
- },
- "required": [
- "source",
- "role",
- "title",
- "headings",
- "excerpt",
- "trust",
- "riskFlags"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "skipped": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "reason": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- }
- },
- "required": [
- "path",
- "reason"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "sourceEvidence": {
- "additionalProperties": false,
- "description": "Bounded sourceEvidence:v1 subpacket. Its byte and row ceilings cover this subpacket only; they do not describe or truncate the complete analyze_repo_structure response.",
- "properties": {
- "contract": {
- "enum": [
- "sourceEvidence:v1"
- ],
- "type": "string"
- },
- "coverage": {
- "enum": [
- "requested-ranges-only"
- ],
- "type": "string"
- },
- "limits": {
- "additionalProperties": {
- "minimum": 1,
- "type": "integer"
- },
- "type": "object"
- },
- "repositoryComplete": {
- "enum": [
- false
- ],
- "type": "boolean"
- },
- "rows": {
- "items": {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "status": {
- "const": "read"
- }
- },
- "required": [
- "actualRange",
- "text",
- "citation",
- "fullFileSha256",
- "fileBytes",
- "fileLines",
- "returnedBytes",
- "truncated",
- "fileComplete"
- ]
- },
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "text"
- ]
- },
- {
- "required": [
- "citation"
- ]
- }
- ]
- },
- "properties": {
- "status": {
- "const": "outlined"
- }
- },
- "required": [
- "mode",
- "sha256",
- "language",
- "declarationCount",
- "declarations",
- "fileBytes",
- "fileLines",
- "returnedBytes",
- "truncated"
- ]
- },
- {
- "not": {
- "anyOf": [
- {
- "required": [
- "text"
- ]
- },
- {
- "required": [
- "citation"
- ]
- }
- ]
- },
- "properties": {
- "status": {
- "enum": [
- "refused",
- "omitted"
- ]
- }
- },
- "required": [
- "reason"
- ]
- }
- ],
- "properties": {
- "actualRange": {
- "additionalProperties": false,
- "properties": {
- "endLine": {
- "minimum": 1,
- "type": "integer"
- },
- "startLine": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "startLine",
- "endLine"
- ],
- "type": "object"
- },
- "citation": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "declarationCount": {
- "minimum": 0,
- "type": "integer"
- },
- "declarations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "enum": [
- "function",
- "method",
- "class",
- "type",
- "interface",
- "struct",
- "enum",
- "const",
- "export",
- "section"
- ],
- "type": "string"
- },
- "line": {
- "minimum": 1,
- "type": "integer"
- },
- "name": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "signature": {
- "type": "string"
- }
- },
- "required": [
- "line",
- "kind",
- "name",
- "signature"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "fileBytes": {
- "minimum": 0,
- "type": "integer"
- },
- "fileComplete": {
- "type": "boolean"
- },
- "fileLines": {
- "minimum": 0,
- "type": "integer"
- },
- "fullFileSha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "language": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "mode": {
- "enum": [
- "outline"
- ],
- "type": "string"
- },
- "next": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "additionalProperties": false,
- "properties": {
- "expectedSha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "maxLines": {
- "maximum": 200,
- "minimum": 1,
- "type": "integer"
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "startLine": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "path",
- "startLine",
- "maxLines",
- "expectedSha256"
- ],
- "type": "object"
- }
- ]
- },
- "path": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "reason": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "requestComplete": {
- "type": "boolean"
- },
- "requestedRange": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "additionalProperties": false,
- "properties": {
- "maxLines": {
- "maximum": 200,
- "minimum": 1,
- "type": "integer"
- },
- "startLine": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "startLine",
- "maxLines"
- ],
- "type": "object"
- }
- ]
- },
- "returnedBytes": {
- "minimum": 0,
- "type": "integer"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- },
- "status": {
- "enum": [
- "read",
- "outlined",
- "refused",
- "omitted"
- ],
- "type": "string"
- },
- "text": {
- "type": "string"
- },
- "truncated": {
- "type": "boolean"
- }
- },
- "required": [
- "status",
- "path",
- "requestedRange",
- "requestComplete",
- "next"
- ],
- "type": "object"
- },
- "maxItems": 8,
- "minItems": 1,
- "type": "array"
- },
- "serializedBytes": {
- "maximum": 65536,
- "minimum": 0,
- "type": "integer"
- },
- "totalReturnedBytes": {
- "maximum": 32768,
- "minimum": 0,
- "type": "integer"
- },
- "trust": {
- "enum": [
- "untrusted-source-data"
- ],
- "type": "string"
- }
- },
- "required": [
- "contract",
- "trust",
- "limits",
- "coverage",
- "repositoryComplete",
- "rows",
- "totalReturnedBytes",
- "serializedBytes"
- ],
- "type": "object"
- },
- "suggestedRelations": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "evidence": {
- "items": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "maxItems": 4,
- "type": "array"
- },
- "from": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "to": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "type": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "uncertainty": {
- "minLength": 1,
- "pattern": "^(?!\\s)(?!.*\\s$)(?!.*\\u0000).+$",
- "type": "string"
- },
- "why": {
- "maxLength": 600,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "rootPath"
- ],
- "type": "object"
-}New value: +null