added
This commit is contained in:
1 parent
4eaec52904
commit
df7571392e
50 files changed
+3390
-258
No files matched your search
@@ -0,0 +1,579 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Local review folder exports",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "1.0"
|
||||
},
|
||||
"profile": {
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"input_sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifact_type": {
|
||||
"const": "transcript"
|
||||
},
|
||||
"cues": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"cue_id": {
|
||||
"type": "string",
|
||||
"pattern": "^cue-[0-9]{6}$"
|
||||
},
|
||||
"source_cue_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"start_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"end_seconds": {
|
||||
"type": "number",
|
||||
"exclusiveMinimum": 0
|
||||
},
|
||||
"speaker": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"cue_id",
|
||||
"source_cue_id",
|
||||
"start_seconds",
|
||||
"end_seconds",
|
||||
"speaker",
|
||||
"text"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"excluded_cue_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^cue-[0-9]{6}$"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"profile",
|
||||
"status",
|
||||
"media_id",
|
||||
"title",
|
||||
"input_sha256",
|
||||
"canonical_url",
|
||||
"artifact_type",
|
||||
"cues",
|
||||
"excluded_cue_ids"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "1.0"
|
||||
},
|
||||
"profile": {
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"input_sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifact_type": {
|
||||
"const": "chunks"
|
||||
},
|
||||
"chunks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chunk_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9:._-]*$"
|
||||
},
|
||||
"knowledge_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9:._-]*$"
|
||||
},
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"supersedes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9:._-]*$"
|
||||
},
|
||||
"minItems": 0
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"heading_path": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"summary": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"tags": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"minItems": 0
|
||||
},
|
||||
"cue_ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"pattern": "^cue-[0-9]{6}$"
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
},
|
||||
"order": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"content_sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"start_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"end_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"speakers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"citations": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"cue_id": {
|
||||
"type": "string",
|
||||
"pattern": "^cue-[0-9]{6}$"
|
||||
},
|
||||
"start_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"end_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"transcript_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"transcript_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_media": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"playback_url": {
|
||||
"type": "null"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"media_id",
|
||||
"cue_id",
|
||||
"start_seconds",
|
||||
"end_seconds",
|
||||
"transcript_ref",
|
||||
"transcript_url",
|
||||
"source_media",
|
||||
"playback_url"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"chunk_id",
|
||||
"knowledge_id",
|
||||
"version",
|
||||
"supersedes",
|
||||
"title",
|
||||
"heading_path",
|
||||
"summary",
|
||||
"tags",
|
||||
"cue_ids",
|
||||
"order",
|
||||
"media_id",
|
||||
"content",
|
||||
"content_sha256",
|
||||
"start_seconds",
|
||||
"end_seconds",
|
||||
"speakers",
|
||||
"citations"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"profile",
|
||||
"status",
|
||||
"media_id",
|
||||
"title",
|
||||
"input_sha256",
|
||||
"canonical_url",
|
||||
"artifact_type",
|
||||
"chunks"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "1.0"
|
||||
},
|
||||
"profile": {
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"input_sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifact_type": {
|
||||
"const": "qa"
|
||||
},
|
||||
"qa": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"qa_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9:._-]*$"
|
||||
},
|
||||
"question": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"answer": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"answer_type": {
|
||||
"enum": [
|
||||
"extractive",
|
||||
"synthesis"
|
||||
]
|
||||
},
|
||||
"evidence": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"chunk_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9][a-zA-Z0-9:._-]*$"
|
||||
},
|
||||
"cue_id": {
|
||||
"type": "string",
|
||||
"pattern": "^cue-[0-9]{6}$"
|
||||
},
|
||||
"quote": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"start_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"end_seconds": {
|
||||
"type": "number",
|
||||
"minimum": 0
|
||||
},
|
||||
"transcript_ref": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"transcript_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"source_media": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"playback_url": {
|
||||
"type": "null"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"chunk_id",
|
||||
"cue_id",
|
||||
"quote",
|
||||
"media_id",
|
||||
"start_seconds",
|
||||
"end_seconds",
|
||||
"transcript_ref",
|
||||
"transcript_url",
|
||||
"source_media",
|
||||
"playback_url"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"qa_id",
|
||||
"question",
|
||||
"answer",
|
||||
"answer_type",
|
||||
"evidence",
|
||||
"media_id"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"profile",
|
||||
"status",
|
||||
"media_id",
|
||||
"title",
|
||||
"input_sha256",
|
||||
"canonical_url",
|
||||
"artifact_type",
|
||||
"qa"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"schema_version": {
|
||||
"const": "1.0"
|
||||
},
|
||||
"profile": {
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"input_sha256": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-f0-9]{64}$"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifact_type": {
|
||||
"const": "index"
|
||||
},
|
||||
"description": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifacts": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"media.json": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"transcript.json": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"chunks.json": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"qa.json": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"chapters.json": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"schema.jsonld": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"README.md": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"review.md": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"media.json",
|
||||
"transcript.json",
|
||||
"chunks.json",
|
||||
"qa.json",
|
||||
"chapters.json",
|
||||
"schema.jsonld",
|
||||
"README.md",
|
||||
"review.md"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"schema_version",
|
||||
"profile",
|
||||
"status",
|
||||
"media_id",
|
||||
"title",
|
||||
"input_sha256",
|
||||
"canonical_url",
|
||||
"artifact_type",
|
||||
"description",
|
||||
"artifacts"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user