added
This commit is contained in:
1 parent
31253e14c1
commit
8596c42ea1
2029 files changed
+225999
-30819
No files matched your search
@@ -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}$"}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user