This commit is contained in:
1 parent
4db3f45164
commit
d25c04cdd2
175 files changed
+56243
-15
No files matched your search
@@ -0,0 +1,693 @@
|
||||
{
|
||||
"$defs": {
|
||||
"Claim": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"assessment": {
|
||||
"$ref": "#/$defs/SupportAssessment"
|
||||
},
|
||||
"claim_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Claim Id",
|
||||
"type": "string"
|
||||
},
|
||||
"evidence": {
|
||||
"items": {
|
||||
"$ref": "#/$defs/EvidenceReference"
|
||||
},
|
||||
"maxItems": 20,
|
||||
"minItems": 1,
|
||||
"title": "Evidence",
|
||||
"type": "array"
|
||||
},
|
||||
"evidence_type": {
|
||||
"enum": [
|
||||
"measured",
|
||||
"reported",
|
||||
"opinion",
|
||||
"vendor_marketing"
|
||||
],
|
||||
"title": "Evidence Type",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"text": {
|
||||
"maxLength": 4000,
|
||||
"minLength": 1,
|
||||
"title": "Text",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"claim_id",
|
||||
"text",
|
||||
"evidence_type",
|
||||
"evidence",
|
||||
"assessment"
|
||||
],
|
||||
"title": "Claim",
|
||||
"type": "object"
|
||||
},
|
||||
"Confidence": {
|
||||
"enum": [
|
||||
"low",
|
||||
"medium",
|
||||
"high"
|
||||
],
|
||||
"title": "Confidence",
|
||||
"type": "string"
|
||||
},
|
||||
"EvidenceReference": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"assertion_digest": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Assertion Digest",
|
||||
"type": "string"
|
||||
},
|
||||
"assertion_path": {
|
||||
"maxLength": 256,
|
||||
"minLength": 1,
|
||||
"title": "Assertion Path",
|
||||
"type": "string"
|
||||
},
|
||||
"extraction_id": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Extraction Id",
|
||||
"type": "string"
|
||||
},
|
||||
"locator": {
|
||||
"$ref": "#/$defs/Locator"
|
||||
},
|
||||
"normalization_profile": {
|
||||
"const": "unicode-nfc-lf-v1",
|
||||
"title": "Normalization Profile",
|
||||
"type": "string"
|
||||
},
|
||||
"quote": {
|
||||
"maxLength": 8000,
|
||||
"minLength": 1,
|
||||
"title": "Quote",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"source_revision_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Source Revision Id",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"source_revision_id",
|
||||
"extraction_id",
|
||||
"assertion_path",
|
||||
"assertion_digest",
|
||||
"quote",
|
||||
"locator",
|
||||
"normalization_profile"
|
||||
],
|
||||
"title": "EvidenceReference",
|
||||
"type": "object"
|
||||
},
|
||||
"LensFit": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"horizon": {
|
||||
"enum": [
|
||||
"H1",
|
||||
"H2",
|
||||
"H3"
|
||||
],
|
||||
"title": "Horizon",
|
||||
"type": "string"
|
||||
},
|
||||
"key_question": {
|
||||
"anyOf": [
|
||||
{
|
||||
"maxLength": 1000,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Key Question"
|
||||
},
|
||||
"reason": {
|
||||
"maxLength": 1000,
|
||||
"minLength": 1,
|
||||
"title": "Reason",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"score": {
|
||||
"maximum": 1,
|
||||
"minimum": 0,
|
||||
"title": "Score",
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"score",
|
||||
"horizon",
|
||||
"reason"
|
||||
],
|
||||
"title": "LensFit",
|
||||
"type": "object"
|
||||
},
|
||||
"Lifecycle": {
|
||||
"enum": [
|
||||
"active",
|
||||
"superseded"
|
||||
],
|
||||
"title": "Lifecycle",
|
||||
"type": "string"
|
||||
},
|
||||
"Locator": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Block Id",
|
||||
"type": "string"
|
||||
},
|
||||
"end": {
|
||||
"exclusiveMinimum": 0,
|
||||
"title": "End",
|
||||
"type": "integer"
|
||||
},
|
||||
"kind": {
|
||||
"enum": [
|
||||
"text_span",
|
||||
"pdf_page_span",
|
||||
"transcript_timestamp_span"
|
||||
],
|
||||
"title": "Kind",
|
||||
"type": "string"
|
||||
},
|
||||
"page": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Page"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"start": {
|
||||
"minimum": 0,
|
||||
"title": "Start",
|
||||
"type": "integer"
|
||||
},
|
||||
"time_end_ms": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Time End Ms"
|
||||
},
|
||||
"time_start_ms": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Time Start Ms"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind",
|
||||
"block_id",
|
||||
"start",
|
||||
"end"
|
||||
],
|
||||
"title": "Locator",
|
||||
"type": "object"
|
||||
},
|
||||
"NodeType": {
|
||||
"enum": [
|
||||
"finding",
|
||||
"problem",
|
||||
"technique",
|
||||
"case",
|
||||
"entity",
|
||||
"event",
|
||||
"concept",
|
||||
"datapoint",
|
||||
"synthesis"
|
||||
],
|
||||
"title": "NodeType",
|
||||
"type": "string"
|
||||
},
|
||||
"ReviewState": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"reviewed"
|
||||
],
|
||||
"title": "ReviewState",
|
||||
"type": "string"
|
||||
},
|
||||
"SupportAssessment": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"assertion_digest": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"title": "Assertion Digest",
|
||||
"type": "string"
|
||||
},
|
||||
"assessment_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Assessment Id",
|
||||
"type": "string"
|
||||
},
|
||||
"assessor_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Assessor Id",
|
||||
"type": "string"
|
||||
},
|
||||
"evidence_digests": {
|
||||
"items": {
|
||||
"pattern": "^[a-f0-9]{64}$",
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 20,
|
||||
"minItems": 1,
|
||||
"title": "Evidence Digests",
|
||||
"type": "array"
|
||||
},
|
||||
"method": {
|
||||
"maxLength": 100,
|
||||
"minLength": 1,
|
||||
"title": "Method",
|
||||
"type": "string"
|
||||
},
|
||||
"rationale": {
|
||||
"maxLength": 4000,
|
||||
"minLength": 1,
|
||||
"title": "Rationale",
|
||||
"type": "string"
|
||||
},
|
||||
"run_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Run Id",
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"status": {
|
||||
"$ref": "#/$defs/SupportStatus"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"assessment_id",
|
||||
"assertion_digest",
|
||||
"evidence_digests",
|
||||
"assessor_id",
|
||||
"run_id",
|
||||
"method",
|
||||
"status",
|
||||
"rationale"
|
||||
],
|
||||
"title": "SupportAssessment",
|
||||
"type": "object"
|
||||
},
|
||||
"SupportStatus": {
|
||||
"enum": [
|
||||
"supported",
|
||||
"unsupported",
|
||||
"unavailable"
|
||||
],
|
||||
"title": "SupportStatus",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"agent_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Agent Id",
|
||||
"type": "string"
|
||||
},
|
||||
"aliases": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"title": "Aliases",
|
||||
"type": "array"
|
||||
},
|
||||
"as_of": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "As Of"
|
||||
},
|
||||
"assumptions": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/Claim"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"title": "Assumptions",
|
||||
"type": "array"
|
||||
},
|
||||
"audience": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 20,
|
||||
"title": "Audience",
|
||||
"type": "array"
|
||||
},
|
||||
"claim_support": {
|
||||
"enum": [
|
||||
"pending",
|
||||
"supported",
|
||||
"unsupported"
|
||||
],
|
||||
"title": "Claim Support",
|
||||
"type": "string"
|
||||
},
|
||||
"claims": {
|
||||
"items": {
|
||||
"$ref": "#/$defs/Claim"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"minItems": 1,
|
||||
"title": "Claims",
|
||||
"type": "array"
|
||||
},
|
||||
"confidence": {
|
||||
"$ref": "#/$defs/Confidence"
|
||||
},
|
||||
"created": {
|
||||
"format": "date-time",
|
||||
"title": "Created",
|
||||
"type": "string"
|
||||
},
|
||||
"demographic": {
|
||||
"anyOf": [
|
||||
{
|
||||
"maxLength": 1000,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Demographic"
|
||||
},
|
||||
"domain": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 20,
|
||||
"title": "Domain",
|
||||
"type": "array"
|
||||
},
|
||||
"lens_fit": {
|
||||
"maxProperties": 50,
|
||||
"patternProperties": {
|
||||
"^[a-zA-Z0-9][a-zA-Z0-9._:-]*$": {
|
||||
"$ref": "#/$defs/LensFit"
|
||||
}
|
||||
},
|
||||
"propertyNames": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1
|
||||
},
|
||||
"title": "Lens Fit",
|
||||
"type": "object"
|
||||
},
|
||||
"lifecycle": {
|
||||
"$ref": "#/$defs/Lifecycle"
|
||||
},
|
||||
"limitations": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"$ref": "#/$defs/Claim"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"title": "Limitations",
|
||||
"type": "array"
|
||||
},
|
||||
"merged_from": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"title": "Merged From",
|
||||
"type": "array"
|
||||
},
|
||||
"model_id": {
|
||||
"maxLength": 200,
|
||||
"minLength": 1,
|
||||
"title": "Model Id",
|
||||
"type": "string"
|
||||
},
|
||||
"node_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Node Id",
|
||||
"type": "string"
|
||||
},
|
||||
"node_type": {
|
||||
"$ref": "#/$defs/NodeType"
|
||||
},
|
||||
"project_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Project Id",
|
||||
"type": "string"
|
||||
},
|
||||
"reporting_year": {
|
||||
"anyOf": [
|
||||
{
|
||||
"maximum": 9999,
|
||||
"minimum": 1,
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Reporting Year"
|
||||
},
|
||||
"review_state": {
|
||||
"$ref": "#/$defs/ReviewState"
|
||||
},
|
||||
"run_id": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"title": "Run Id",
|
||||
"type": "string"
|
||||
},
|
||||
"sample_size": {
|
||||
"anyOf": [
|
||||
{
|
||||
"minimum": 0,
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Sample Size"
|
||||
},
|
||||
"schema_version": {
|
||||
"const": 1,
|
||||
"default": 1,
|
||||
"title": "Schema Version",
|
||||
"type": "integer"
|
||||
},
|
||||
"stale_after": {
|
||||
"anyOf": [
|
||||
{
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Stale After"
|
||||
},
|
||||
"summary": {
|
||||
"maxLength": 8000,
|
||||
"minLength": 1,
|
||||
"title": "Summary",
|
||||
"type": "string"
|
||||
},
|
||||
"superseded_by": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Superseded By",
|
||||
"type": "array"
|
||||
},
|
||||
"supersedes": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"maxLength": 128,
|
||||
"minLength": 1,
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9._:-]*$",
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Supersedes",
|
||||
"type": "array"
|
||||
},
|
||||
"tags": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 100,
|
||||
"title": "Tags",
|
||||
"type": "array"
|
||||
},
|
||||
"title": {
|
||||
"maxLength": 300,
|
||||
"minLength": 1,
|
||||
"title": "Title",
|
||||
"type": "string"
|
||||
},
|
||||
"unit": {
|
||||
"anyOf": [
|
||||
{
|
||||
"maxLength": 100,
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Unit"
|
||||
},
|
||||
"updated": {
|
||||
"format": "date-time",
|
||||
"title": "Updated",
|
||||
"type": "string"
|
||||
},
|
||||
"use_for": {
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"maxItems": 20,
|
||||
"title": "Use For",
|
||||
"type": "array"
|
||||
},
|
||||
"value": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "number"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null,
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"node_id",
|
||||
"project_id",
|
||||
"node_type",
|
||||
"title",
|
||||
"summary",
|
||||
"created",
|
||||
"updated",
|
||||
"review_state",
|
||||
"lifecycle",
|
||||
"confidence",
|
||||
"claim_support",
|
||||
"run_id",
|
||||
"agent_id",
|
||||
"model_id",
|
||||
"claims"
|
||||
],
|
||||
"title": "KnowledgeNode",
|
||||
"type": "object"
|
||||
}
|
||||
Reference in new issue
Block a user