{"apiVersion":"1","data":{"$defs":{"ApiError":{"additionalProperties":false,"properties":{"code":{"$ref":"#/$defs/ErrorCode"},"details":true,"message":{"type":"string"},"retryable":{"type":"boolean"}},"required":["code","message","retryable"],"type":"object"},"Claim":{"additionalProperties":false,"properties":{"confidence":{"format":"double","maximum":1.0,"minimum":0.0,"type":["number","null"]},"conflictGroupId":{"type":["string","null"]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"extractionRunId":{"type":["string","null"]},"id":{"type":"string"},"ontologyVersion":{"type":"string"},"origin":{"$ref":"#/$defs/ClaimOrigin"},"predicate":{"type":"string"},"revisionId":{"type":"string"},"value":true},"required":["id","revisionId","predicate","value","origin","evidenceIds","ontologyVersion"],"type":"object"},"ClaimOrigin":{"enum":["source","extracted","inferred"],"type":"string"},"ErrorCode":{"enum":["invalidInput","unauthenticated","forbidden","notFound","conflict","rateLimited","upstreamUnavailable","internal"],"type":"string"},"ErrorResponse":{"additionalProperties":false,"properties":{"apiVersion":{"type":"string"},"error":{"$ref":"#/$defs/ApiError"},"requestId":{"type":"string"}},"required":["apiVersion","requestId","error"],"type":"object"},"Evidence":{"additionalProperties":false,"properties":{"documentContentHash":{"description":"Pins text spans to immutable bytes when a source URL changes.","type":["string","null"]},"documentId":{"type":["string","null"]},"id":{"type":"string"},"locator":{"$ref":"#/$defs/EvidenceLocator"},"quote":{"type":["string","null"]},"revisionId":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","revisionId","sourceUrl","locator"],"type":"object"},"EvidenceLocator":{"oneOf":[{"additionalProperties":false,"properties":{"kind":{"const":"jsonPointer","type":"string"},"pointer":{"type":"string"}},"required":["kind","pointer"],"type":"object"},{"additionalProperties":false,"properties":{"end":{"format":"uint64","minimum":0,"type":"integer"},"kind":{"const":"documentRange","type":"string"},"page":{"format":"uint32","minimum":0,"type":["integer","null"]},"section":{"type":["string","null"]},"start":{"format":"uint64","minimum":0,"type":"integer"}},"required":["kind","start","end"],"type":"object"}]},"GenerationSource":{"enum":["llm","extractive"],"type":"string"},"Money":{"additionalProperties":false,"properties":{"amount":{"pattern":"^-?[0-9]+(\\.[0-9]+)?$","type":"string"},"currency":{"type":"string"}},"required":["amount","currency"],"type":"object"},"Opportunity":{"additionalProperties":false,"properties":{"active":{"type":["boolean","null"]},"agencyId":{"type":["string","null"]},"currentRevisionId":{"type":"string"},"firstSeenAt":{"format":"date-time","type":"string"},"id":{"type":"string"},"lastSeenAt":{"format":"date-time","type":"string"},"naics":{"type":["string","null"]},"noticeId":{"type":"string"},"noticeType":{"type":["string","null"]},"officeId":{"type":["string","null"]},"placeOfPerformance":{"anyOf":[{"$ref":"#/$defs/Place"},{"type":"null"}]},"postedDate":{"anyOf":[{"$ref":"#/$defs/SourceDate"},{"type":"null"}]},"psc":{"type":["string","null"]},"responseDeadline":{"anyOf":[{"$ref":"#/$defs/SourceDate"},{"type":"null"}]},"setAside":{"type":["string","null"]},"solicitationNumber":{"type":["string","null"]},"source":{"$ref":"#/$defs/Source"},"title":{"type":["string","null"]},"uiLink":{"type":["string","null"]}},"required":["id","noticeId","currentRevisionId","source","firstSeenAt","lastSeenAt"],"type":"object"},"Place":{"additionalProperties":false,"properties":{"city":{"type":["string","null"]},"countryCode":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"stateCode":{"type":["string","null"]}},"type":"object"},"Profile":{"additionalProperties":false,"properties":{"assertions":{"additionalProperties":true,"description":"User assertions are not verified certifications.","type":"object"},"createdAt":{"format":"date-time","type":"string"},"exclusions":{"items":{"type":"string"},"type":"array"},"id":{"type":"string"},"keywords":{"items":{"type":"string"},"type":"array"},"minimumDaysToDeadline":{"format":"uint32","minimum":0,"type":["integer","null"]},"naicsPrefixes":{"items":{"type":"string"},"type":"array"},"name":{"type":"string"},"narrative":{"type":["string","null"]},"noticeTypes":{"items":{"type":"string"},"type":"array"},"ownerId":{"type":"string"},"setAsides":{"items":{"type":"string"},"type":"array"},"states":{"items":{"type":"string"},"type":"array"},"updatedAt":{"format":"date-time","type":"string"}},"required":["id","ownerId","name","keywords","exclusions","naicsPrefixes","setAsides","states","noticeTypes","assertions","createdAt","updatedAt"],"type":"object"},"Revision":{"additionalProperties":false,"properties":{"contentHash":{"type":"string"},"id":{"type":"string"},"observedAt":{"format":"date-time","type":"string"},"opportunityId":{"type":"string"},"rawPayload":true,"sourcePublishedAt":{"anyOf":[{"$ref":"#/$defs/SourceDate"},{"type":"null"}]},"sourceUrl":{"type":"string"},"supersedesRevisionId":{"type":["string","null"]},"upstreamRevisionId":{"type":["string","null"]}},"required":["id","opportunityId","contentHash","observedAt","sourceUrl","rawPayload"],"type":"object"},"RuleOutcome":{"additionalProperties":false,"properties":{"evaluatedValue":true,"evidenceIds":{"items":{"type":"string"},"type":"array"},"explanation":{"type":"string"},"ruleId":{"type":"string"},"ruleVersion":{"type":"string"},"status":{"$ref":"#/$defs/RuleStatus"}},"required":["ruleId","ruleVersion","status","explanation","evidenceIds"],"type":"object"},"RuleStatus":{"enum":["satisfied","unsatisfied","unknown"],"type":"string"},"SearchResult":{"additionalProperties":false,"properties":{"evidenceIds":{"items":{"type":"string"},"type":"array"},"opportunity":{"$ref":"#/$defs/Opportunity"},"reasons":{"items":{"type":"string"},"type":"array"},"ruleOutcomes":{"items":{"$ref":"#/$defs/RuleOutcome"},"type":"array"},"score":{"format":"double","type":"number"},"scoreComponents":{"additionalProperties":{"format":"double","type":"number"},"type":"object"},"summary":{"anyOf":[{"$ref":"#/$defs/Summary"},{"type":"null"}]}},"required":["opportunity","score","scoreComponents","reasons","ruleOutcomes","evidenceIds"],"type":"object"},"Source":{"additionalProperties":false,"properties":{"retrievedAt":{"format":"date-time","type":"string"},"system":{"type":"string"},"url":{"type":"string"}},"required":["system","url","retrievedAt"],"type":"object"},"SourceDate":{"description":"Preserve dates with unknown timezone rather than inventing a UTC instant.","oneOf":[{"properties":{"precision":{"const":"instant","type":"string"},"value":{"format":"date-time","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"date","type":"string"},"value":{"format":"date","type":"string"}},"required":["precision","value"],"type":"object"},{"properties":{"precision":{"const":"unresolved","type":"string"},"value":{"type":"string"}},"required":["precision","value"],"type":"object"}]},"Summary":{"additionalProperties":false,"properties":{"bullets":{"items":{"type":"string"},"type":"array"},"deadline":{"anyOf":[{"$ref":"#/$defs/SourceDate"},{"type":"null"}]},"evidenceIds":{"items":{"type":"string"},"type":"array"},"generatedAt":{"format":"date-time","type":"string"},"generationSource":{"$ref":"#/$defs/GenerationSource"},"id":{"type":"string"},"model":{"type":["string","null"]},"ontologyVersion":{"type":"string"},"promptVersion":{"type":["string","null"]},"revisionId":{"type":"string"},"setAside":{"type":["string","null"]},"tags":{"items":{"type":"string"},"type":"array"},"text":{"type":"string"},"value":{"anyOf":[{"$ref":"#/$defs/Money"},{"type":"null"}]},"what":{"type":["string","null"]},"who":{"type":["string","null"]}},"required":["id","revisionId","text","bullets","tags","evidenceIds","generationSource","generatedAt","ontologyVersion"],"type":"object"}},"$schema":"https://json-schema.org/draft/2020-12/schema","description":"A schema catalog, not an API response requiring every entity at once.","properties":{"claim":{"$ref":"#/$defs/Claim"},"error":{"$ref":"#/$defs/ErrorResponse"},"evidence":{"$ref":"#/$defs/Evidence"},"opportunity":{"$ref":"#/$defs/Opportunity"},"profile":{"$ref":"#/$defs/Profile"},"revision":{"$ref":"#/$defs/Revision"},"searchResult":{"$ref":"#/$defs/SearchResult"},"summary":{"$ref":"#/$defs/Summary"}},"required":["opportunity","revision","evidence","claim","summary","profile","searchResult","error"],"title":"ContractCatalog","type":"object","x-api-version":"1","x-contract-status":"draft"},"requestId":"0873eaec-dc78-497c-b685-566679550c8c"}