added
This commit is contained in:
1 parent
31253e14c1
commit
8596c42ea1
2029 files changed
+225999
-30819
No files matched your search
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "connections.schema.json",
|
||||
"title": "Future Map Resolved Connections",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_version",
|
||||
"generated_at",
|
||||
"connection_count",
|
||||
"core_section_connection_count",
|
||||
"signal_connection_count",
|
||||
"connections",
|
||||
"signal_backlinks",
|
||||
"core_section_backlinks"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"generated_at": {"type": "string", "format": "date-time"},
|
||||
"connection_count": {"type": "integer", "minimum": 0},
|
||||
"core_section_connection_count": {"type": "integer", "minimum": 0},
|
||||
"signal_connection_count": {"type": "integer", "minimum": 0},
|
||||
"connections": {
|
||||
"type": "array",
|
||||
"items": {"$ref": "#/$defs/connection"}
|
||||
},
|
||||
"signal_backlinks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["signal_id", "label", "page_path", "incoming"],
|
||||
"properties": {
|
||||
"signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"label": {"type": "string", "minLength": 1},
|
||||
"page_path": {"type": "string", "pattern": "^signals/fm-signal-[a-z0-9-]+\\.md$"},
|
||||
"incoming": {"type": "array", "minItems": 1, "items": {"$ref": "#/$defs/backlink"}}
|
||||
}
|
||||
}
|
||||
},
|
||||
"core_section_backlinks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["target_id", "document_id", "section_id", "label", "repository_path", "locator", "public_url", "incoming"],
|
||||
"properties": {
|
||||
"target_id": {"type": "string", "minLength": 3},
|
||||
"document_id": {"type": "string", "minLength": 1},
|
||||
"section_id": {"type": "string", "minLength": 1},
|
||||
"label": {"type": "string", "minLength": 1},
|
||||
"repository_path": {"type": "string", "minLength": 1},
|
||||
"locator": {"type": ["string", "null"]},
|
||||
"public_url": {"type": ["string", "null"], "format": "uri"},
|
||||
"incoming": {"type": "array", "minItems": 1, "items": {"$ref": "#/$defs/backlink"}}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"connection": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"connection_id", "source_signal_id", "source_label", "source_page_path", "source_public_url",
|
||||
"target_type", "target_id", "label", "relationship", "relevance", "review_status",
|
||||
"repository_path", "locator", "relative_url", "page_relative_url", "public_url"
|
||||
],
|
||||
"properties": {
|
||||
"connection_id": {"type": "string", "pattern": "^fm-connection-[a-f0-9]{20}$"},
|
||||
"source_signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"source_label": {"type": "string", "minLength": 1},
|
||||
"source_page_path": {"type": "string", "pattern": "^signals/fm-signal-[a-z0-9-]+\\.md$"},
|
||||
"source_public_url": {"type": ["string", "null"], "format": "uri"},
|
||||
"target_type": {"enum": ["signal", "core-section"]},
|
||||
"target_id": {"type": "string", "minLength": 1},
|
||||
"document_id": {"type": "string", "minLength": 1},
|
||||
"section_id": {"type": "string", "minLength": 1},
|
||||
"label": {"type": "string", "minLength": 1},
|
||||
"relationship": {"enum": ["supports", "challenges", "updates", "illustrates", "early-warning", "contradicts", "supersedes"]},
|
||||
"relevance": {"type": "number", "minimum": 0, "maximum": 1},
|
||||
"review_status": {"enum": ["machine-proposed", "human-approved", "rejected"]},
|
||||
"repository_path": {"type": "string", "minLength": 1},
|
||||
"locator": {"type": ["string", "null"]},
|
||||
"relative_url": {"type": "string", "minLength": 1},
|
||||
"page_relative_url": {"type": "string", "minLength": 1},
|
||||
"public_url": {"type": ["string", "null"], "format": "uri"}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {"properties": {"target_type": {"const": "core-section"}}},
|
||||
"then": {"required": ["document_id", "section_id"]}
|
||||
}
|
||||
]
|
||||
},
|
||||
"backlink": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["connection_id", "source_signal_id", "source_label", "relationship", "relevance", "source_page_path", "source_public_url"],
|
||||
"properties": {
|
||||
"connection_id": {"type": "string", "pattern": "^fm-connection-[a-f0-9]{20}$"},
|
||||
"source_signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"source_label": {"type": "string", "minLength": 1},
|
||||
"relationship": {"enum": ["supports", "challenges", "updates", "illustrates", "early-warning", "contradicts", "supersedes"]},
|
||||
"relevance": {"type": "number", "minimum": 0, "maximum": 1},
|
||||
"source_page_path": {"type": "string", "pattern": "^signals/fm-signal-[a-z0-9-]+\\.md$"},
|
||||
"source_public_url": {"type": ["string", "null"], "format": "uri"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "derivative-patch.schema.json",
|
||||
"title": "Future Map Derivative Authoring Patch",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_version", "derivative_id", "source_signal_id", "artifact_type", "channel",
|
||||
"audiences", "objective", "title", "content", "content_format", "call_to_action",
|
||||
"claim_indexes", "connection_ids", "authoring_notes", "generated_by",
|
||||
"supersedes_derivative_id"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"derivative_id": {"type": "string", "pattern": "^fm-derivative-[a-z0-9-]+-[0-9]{3}$"},
|
||||
"source_signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"artifact_type": {"enum": ["social-post", "email-response", "article-section", "presentation-slide", "webinar-talking-point", "prediction", "recommendation", "document-update", "standalone-document", "other"]},
|
||||
"channel": {"enum": ["linkedin", "x", "email", "article", "presentation", "webinar", "website", "internal", "other"]},
|
||||
"audiences": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"enum": ["individuals", "families", "workers", "business-leaders", "investors", "policymakers", "consumer-brands", "outdoor-industry"]}},
|
||||
"objective": {"type": "string", "minLength": 10},
|
||||
"title": {"type": ["string", "null"]},
|
||||
"content": {"type": "string", "minLength": 20},
|
||||
"content_format": {"enum": ["markdown", "plain-text"]},
|
||||
"call_to_action": {"type": ["string", "null"]},
|
||||
"claim_indexes": {"type": "array", "uniqueItems": true, "items": {"type": "integer", "minimum": 0}},
|
||||
"connection_ids": {"type": "array", "uniqueItems": true, "items": {"type": "string", "pattern": "^fm-connection-[a-f0-9]{20}$"}},
|
||||
"authoring_notes": {"type": "array", "uniqueItems": true, "items": {"type": "string", "minLength": 1}},
|
||||
"generated_by": {"type": "string", "minLength": 1},
|
||||
"supersedes_derivative_id": {"type": ["string", "null"], "pattern": "^fm-derivative-[a-z0-9-]+-[0-9]{3}$"}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,98 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "future-map-derivative.schema.json",
|
||||
"title": "Future Map Authored Derivative",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_version", "id", "source_signal_id", "artifact_type", "channel", "audiences",
|
||||
"objective", "title", "content", "content_format", "call_to_action", "claims_used",
|
||||
"references", "authoring", "review", "publication", "lineage"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"id": {"type": "string", "pattern": "^fm-derivative-[a-z0-9-]+-[0-9]{3}$"},
|
||||
"source_signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"artifact_type": {"enum": ["social-post", "email-response", "article-section", "presentation-slide", "webinar-talking-point", "prediction", "recommendation", "document-update", "standalone-document", "other"]},
|
||||
"channel": {"enum": ["linkedin", "x", "email", "article", "presentation", "webinar", "website", "internal", "other"]},
|
||||
"audiences": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"enum": ["individuals", "families", "workers", "business-leaders", "investors", "policymakers", "consumer-brands", "outdoor-industry"]}},
|
||||
"objective": {"type": "string", "minLength": 10},
|
||||
"title": {"type": ["string", "null"]},
|
||||
"content": {"type": "string", "minLength": 20},
|
||||
"content_format": {"enum": ["markdown", "plain-text"]},
|
||||
"call_to_action": {"type": ["string", "null"]},
|
||||
"claims_used": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["claim_index", "text", "type", "confidence"],
|
||||
"properties": {
|
||||
"claim_index": {"type": "integer", "minimum": 0},
|
||||
"text": {"type": "string", "minLength": 1},
|
||||
"type": {"enum": ["reported-fact", "interpretation", "prediction", "opinion", "recommendation"]},
|
||||
"confidence": {"enum": ["low", "medium", "high"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"references": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["connection_id", "target_type", "target_id", "relationship", "label", "repository_path", "url"],
|
||||
"properties": {
|
||||
"connection_id": {"type": "string", "pattern": "^fm-connection-[a-f0-9]{20}$"},
|
||||
"target_type": {"enum": ["signal", "core-section"]},
|
||||
"target_id": {"type": "string", "minLength": 1},
|
||||
"relationship": {"enum": ["supports", "challenges", "updates", "illustrates", "early-warning", "contradicts", "supersedes"]},
|
||||
"label": {"type": "string", "minLength": 1},
|
||||
"repository_path": {"type": "string", "minLength": 1},
|
||||
"url": {"type": "string", "minLength": 1}
|
||||
}
|
||||
}
|
||||
},
|
||||
"authoring": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["skill", "source_repository", "source_path", "voice_profile", "authoring_notes", "generated_by", "generated_at"],
|
||||
"properties": {
|
||||
"skill": {"const": "eddie-voice-writing"},
|
||||
"source_repository": {"const": "ES-authoring-skills"},
|
||||
"source_path": {"const": "skills/ES-writing-skill.md"},
|
||||
"voice_profile": {"const": "eddie-soehnel"},
|
||||
"authoring_notes": {"type": "array", "uniqueItems": true, "items": {"type": "string", "minLength": 1}},
|
||||
"generated_by": {"type": "string", "minLength": 1},
|
||||
"generated_at": {"type": "string", "format": "date-time"}
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["status", "reviewer", "reviewed_at", "feedback"],
|
||||
"properties": {
|
||||
"status": {"enum": ["draft", "human-reviewed", "approved", "rejected", "published", "deprecated", "superseded"]},
|
||||
"reviewer": {"type": ["string", "null"]},
|
||||
"reviewed_at": {"type": ["string", "null"], "format": "date-time"},
|
||||
"feedback": {"type": ["string", "null"]}
|
||||
}
|
||||
},
|
||||
"publication": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["status", "url", "published_at", "channel"],
|
||||
"properties": {
|
||||
"status": {"enum": ["not-published", "published", "removed"]},
|
||||
"url": {"type": ["string", "null"], "format": "uri"},
|
||||
"published_at": {"type": ["string", "null"], "format": "date-time"},
|
||||
"channel": {"type": ["string", "null"]}
|
||||
}
|
||||
},
|
||||
"lineage": {
|
||||
"type": "object", "additionalProperties": false,
|
||||
"required": ["source_record_hash", "source_reasoning_hash", "selected_connections_hash", "authoring_patch_hash", "supersedes_derivative_id"],
|
||||
"properties": {
|
||||
"source_record_hash": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"source_reasoning_hash": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"selected_connections_hash": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"authoring_patch_hash": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"supersedes_derivative_id": {"type": ["string", "null"], "pattern": "^fm-derivative-[a-z0-9-]+-[0-9]{3}$"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user