fact record schema

RAGE Fact. Required: fact_id.

Download JSON Validate a fact

Properties

propertytyperequirednotes
fact_id string required
kind const required must be "fact".
attributes object optional
captured_at string optional format: date-time.
content_hash string optional
edge_hint string optional
evidence any optional
provider string optional
scope any optional
source string optional
target string optional

Additional properties are allowed - RAGE is forward-compatible; unknown fields are ignored.

Raw schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rage.fail/schemas/0.1/fact.schema.json",
  "title": "RAGE Fact",
  "type": "object",
  "required": [
    "kind",
    "fact_id"
  ],
  "additionalProperties": true,
  "properties": {
    "kind": {
      "const": "fact"
    },
    "fact_id": {
      "type": "string"
    },
    "edge_hint": {
      "type": "string"
    },
    "source": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "provider": {
      "type": "string"
    },
    "scope": {},
    "captured_at": {
      "type": "string",
      "format": "date-time"
    },
    "content_hash": {
      "type": "string"
    },
    "evidence": {},
    "attributes": {
      "type": "object"
    }
  }
}
move · open · esc close