added
This commit is contained in:
1 parent
87cc362513
commit
2a0d6aa2bf
1029 files changed
+106050
-14573
No files matched your search
@@ -0,0 +1,209 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "future-map-signal.schema.json",
|
||||
"title": "Future Map Public Signal",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"schema_version",
|
||||
"id",
|
||||
"source_record",
|
||||
"source",
|
||||
"links",
|
||||
"media",
|
||||
"rights",
|
||||
"reasoning",
|
||||
"review",
|
||||
"provenance"
|
||||
],
|
||||
"properties": {
|
||||
"schema_version": {"const": "1.0"},
|
||||
"id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"source_record": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["source_file_id", "hub_id", "date", "date_original", "title", "summary", "notes", "hub_tags", "companies", "contact_reference_count"],
|
||||
"properties": {
|
||||
"source_file_id": {"type": "string", "minLength": 1},
|
||||
"hub_id": {"type": ["string", "null"]},
|
||||
"date": {"type": ["string", "null"], "format": "date"},
|
||||
"date_original": {"type": ["string", "null"]},
|
||||
"title": {"type": ["string", "null"]},
|
||||
"summary": {"type": ["string", "null"]},
|
||||
"notes": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["present", "content_type", "text", "used_for_reasoning"],
|
||||
"properties": {
|
||||
"present": {"type": "boolean"},
|
||||
"content_type": {"enum": ["none", "plain-text", "html", "email-html", "unknown"]},
|
||||
"text": {"type": ["string", "null"]},
|
||||
"used_for_reasoning": {"type": "boolean"}
|
||||
}
|
||||
},
|
||||
"hub_tags": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"companies": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"contact_reference_count": {"type": "integer", "minimum": 0}
|
||||
}
|
||||
},
|
||||
"source": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["title", "publisher", "author", "publication_date", "canonical_url", "access"],
|
||||
"properties": {
|
||||
"title": {"type": ["string", "null"]},
|
||||
"publisher": {"type": ["string", "null"]},
|
||||
"author": {"type": ["string", "null"]},
|
||||
"publication_date": {"type": ["string", "null"], "format": "date"},
|
||||
"canonical_url": {"type": ["string", "null"], "format": "uri"},
|
||||
"access": {"enum": ["public", "registration-required", "subscription", "private", "unknown"]}
|
||||
}
|
||||
},
|
||||
"links": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["url", "kind", "source_field"],
|
||||
"properties": {
|
||||
"url": {"type": "string", "format": "uri"},
|
||||
"title": {"type": ["string", "null"]},
|
||||
"kind": {"enum": ["source", "related", "media", "unknown"]},
|
||||
"source_field": {"enum": ["Summary", "Notes", "File", "Image"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"media": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "media_type", "source_field", "source_reference", "public_path", "source_url", "content_hash", "copy_status", "rights_status", "publication_decision"],
|
||||
"properties": {
|
||||
"id": {"type": "string"},
|
||||
"media_type": {"enum": ["image", "document", "audio", "video", "other"]},
|
||||
"source_field": {"enum": ["File", "Image"]},
|
||||
"source_reference": {"type": "string"},
|
||||
"public_path": {"type": ["string", "null"]},
|
||||
"source_url": {"type": ["string", "null"], "format": "uri"},
|
||||
"content_hash": {"type": ["string", "null"], "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"copy_status": {"enum": ["copied", "remote", "missing", "quarantined"]},
|
||||
"rights_status": {"enum": ["owned", "licensed", "public-domain", "third-party", "unknown"]},
|
||||
"publication_decision": {"enum": ["publish", "quarantine", "exclude"]},
|
||||
"description": {"type": ["string", "null"]},
|
||||
"extracted_text": {"type": ["string", "null"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"rights": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["ownership", "rights_status", "source_access", "publication_policy", "publication_decision", "approved_by", "attribution"],
|
||||
"properties": {
|
||||
"ownership": {"enum": ["eddie-soehnel", "third-party", "mixed", "unknown"]},
|
||||
"rights_status": {"enum": ["owned", "licensed", "public-domain", "third-party", "unknown"]},
|
||||
"source_access": {"enum": ["public", "registration-required", "subscription", "private", "unknown"]},
|
||||
"publication_policy": {"const": "publish-with-attribution"},
|
||||
"publication_decision": {"enum": ["publish", "quarantine", "exclude"]},
|
||||
"approved_by": {"const": "repository-owner"},
|
||||
"attribution": {"type": ["string", "null"]}
|
||||
}
|
||||
},
|
||||
"reasoning": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["status", "analysis", "implications", "claims", "classification", "related_documents", "confidence", "novelty", "corpus_documents_consulted", "generated_at", "generated_by"],
|
||||
"properties": {
|
||||
"status": {"enum": ["pending", "complete", "stale", "failed", "excluded"]},
|
||||
"analysis": {"type": ["string", "null"]},
|
||||
"implications": {"type": "array", "items": {"type": "string"}, "maxItems": 12},
|
||||
"claims": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["text", "type", "confidence"],
|
||||
"properties": {
|
||||
"text": {"type": "string"},
|
||||
"type": {"enum": ["reported-fact", "interpretation", "prediction", "opinion", "recommendation"]},
|
||||
"confidence": {"enum": ["low", "medium", "high"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"classification": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["signal_types", "topics", "future_map_concepts", "time_horizons", "geographies", "industries", "audiences", "direction", "maturity"],
|
||||
"properties": {
|
||||
"signal_types": {"type": "array", "items": {"enum": ["structural-shift", "acceleration-signal", "constraint", "bottleneck", "tool-unlock", "business-model-shift", "distribution-shift", "moat-creation", "moat-erosion", "early-warning", "counter-signal", "noise"]}, "uniqueItems": true},
|
||||
"topics": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"future_map_concepts": {"type": "array", "items": {"enum": ["reckoning", "resurgence", "critical-state", "tipping-point", "value-shift", "growth-engine", "future-skill", "future-job", "exponential-growth", "reindustrialization"]}, "uniqueItems": true},
|
||||
"time_horizons": {"type": "array", "items": {"enum": ["immediate", "near-term", "medium-term", "long-term"]}, "uniqueItems": true},
|
||||
"geographies": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"industries": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"audiences": {"type": "array", "items": {"enum": ["individuals", "families", "workers", "business-leaders", "investors", "policymakers", "consumer-brands", "outdoor-industry"]}, "uniqueItems": true},
|
||||
"direction": {"enum": ["positive", "negative", "mixed", "neutral", "uncertain"]},
|
||||
"maturity": {"enum": ["emerging", "accelerating", "established", "peaking", "declining", "uncertain"]}
|
||||
}
|
||||
},
|
||||
"related_documents": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["document_id", "section_id", "relationship", "relevance", "review_status"],
|
||||
"properties": {
|
||||
"document_id": {"type": "string"},
|
||||
"section_id": {"type": ["string", "null"]},
|
||||
"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"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"related_signals": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["signal_id", "relationship", "relevance", "review_status"],
|
||||
"properties": {
|
||||
"signal_id": {"type": "string", "pattern": "^fm-signal-[a-z0-9-]+$"},
|
||||
"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"]}
|
||||
}
|
||||
}
|
||||
},
|
||||
"confidence": {"enum": ["low", "medium", "high", "unrated"]},
|
||||
"novelty": {"enum": ["new", "reinforcing", "duplicate", "counter-signal", "uncertain", "unrated"]},
|
||||
"corpus_documents_consulted": {"type": "array", "items": {"type": "string"}, "uniqueItems": true},
|
||||
"generated_at": {"type": ["string", "null"], "format": "date-time"},
|
||||
"generated_by": {"type": ["string", "null"]}
|
||||
}
|
||||
},
|
||||
"review": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["publication_status", "content_review", "privacy_review", "rights_review", "warnings"],
|
||||
"properties": {
|
||||
"publication_status": {"enum": ["draft", "review-required", "approved", "excluded"]},
|
||||
"content_review": {"enum": ["pending", "automated", "human-approved", "failed"]},
|
||||
"privacy_review": {"enum": ["pending", "automated-passed", "human-approved", "failed"]},
|
||||
"rights_review": {"enum": ["owner-risk-accepted", "passed", "restricted", "failed"]},
|
||||
"warnings": {"type": "array", "items": {"type": "string"}}
|
||||
}
|
||||
},
|
||||
"provenance": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["source_hash", "input_fingerprint", "pipeline_version", "prepared_at"],
|
||||
"properties": {
|
||||
"source_hash": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"input_fingerprint": {"type": "string", "pattern": "^sha256:[a-f0-9]{64}$"},
|
||||
"pipeline_version": {"type": "string"},
|
||||
"prepared_at": {"type": "string", "format": "date-time"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user