added
This commit is contained in:
1 parent
4eaec52904
commit
df7571392e
50 files changed
+3390
-258
No files matched your search
@@ -4,6 +4,9 @@ JSON Schema Draft 2020-12. The builder uses `jsonschema` with format checks and
|
||||
|
||||
| Schema | Validates |
|
||||
| --- | --- |
|
||||
| [repository](repository.schema.json) | Standard repository identity, discovery, rights, and retrieval manifest |
|
||||
| [repository variables](repository-variables.schema.json) | Verified reusable identity, rights, profile, and workflow defaults |
|
||||
| [content index](content-index.schema.json) | File-level documentation catalog, separate from generated media indexes |
|
||||
| [intake](intake.schema.json) | Folder interview, selected sources, provenance, unknowns |
|
||||
| [folder-export](folder-export.schema.json) | Local draft transcript, chunks, Q&A, and routing |
|
||||
| [media](media.schema.json) | Source recording manifest |
|
||||
@@ -14,4 +17,6 @@ JSON Schema Draft 2020-12. The builder uses `jsonschema` with format checks and
|
||||
| [qa](qa.schema.json) | Grounded Q&A export |
|
||||
| [ai-index](ai-index.schema.json) | Collection discovery catalog |
|
||||
|
||||
The local-export schema accepts `draft` and `approved`; the approval verifier enforces the associated evidence and input bindings. State strings alone do not prove approval. The repository schemas are copied from the MIT AI-Ready Repository Template, retaining upstream identifiers.
|
||||
|
||||
`chapters.json` follows the external Podcast Namespace chapter format; `schema.jsonld` follows Schema.org. They are not covered by proprietary lookalike schemas here. External rich-result eligibility and public playback require separate published-site validation.
|
||||
@@ -0,0 +1,133 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://projects.eddiesoehnel.com/adminprojects/repo-template/schemas/content-index.schema.json",
|
||||
"title": "Repository Content Index",
|
||||
"description": "Compact machine-readable catalog of individual documents in a content-heavy repository.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"collection_id",
|
||||
"title",
|
||||
"description",
|
||||
"updated_at",
|
||||
"items"
|
||||
],
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+$"
|
||||
},
|
||||
"collection_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"items": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/contentItem"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"$defs": {
|
||||
"stringArray": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"contentItem": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"content_id",
|
||||
"title",
|
||||
"description",
|
||||
"content_type",
|
||||
"path",
|
||||
"status"
|
||||
],
|
||||
"properties": {
|
||||
"content_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"content_type": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"path": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"published_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date"
|
||||
},
|
||||
"status": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"draft",
|
||||
"published",
|
||||
"deprecated",
|
||||
"archived",
|
||||
"superseded"
|
||||
]
|
||||
},
|
||||
"author": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"topics": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"related_content_ids": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,7 +12,10 @@
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"const": "draft"
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
@@ -112,7 +115,10 @@
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"const": "draft"
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
@@ -323,7 +329,10 @@
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"const": "draft"
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
@@ -471,7 +480,10 @@
|
||||
"const": "local-review"
|
||||
},
|
||||
"status": {
|
||||
"const": "draft"
|
||||
"enum": [
|
||||
"draft",
|
||||
"approved"
|
||||
]
|
||||
},
|
||||
"media_id": {
|
||||
"type": "string",
|
||||
|
||||
@@ -0,0 +1,179 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://projects.eddiesoehnel.com/adminprojects/repo-template/schemas/repository-variables.schema.json",
|
||||
"title": "Repository Structure Skill Variables",
|
||||
"description": "Verified stable identity, repository, rights, profile, and workflow inputs reused by repository-structure skills.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"purpose",
|
||||
"repository_profile",
|
||||
"identity",
|
||||
"repository",
|
||||
"rights",
|
||||
"skill_defaults",
|
||||
"verified_by",
|
||||
"verified_at"
|
||||
],
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+$"
|
||||
},
|
||||
"purpose": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"repository_profile": {
|
||||
"enum": [
|
||||
"documentation-guide",
|
||||
"skill-workflow",
|
||||
"software-automation",
|
||||
"dataset",
|
||||
"custom"
|
||||
]
|
||||
},
|
||||
"identity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"authors",
|
||||
"publisher",
|
||||
"maintainer"
|
||||
],
|
||||
"properties": {
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
}
|
||||
},
|
||||
"publisher": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
"maintainer": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"repository": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"repository_id",
|
||||
"name",
|
||||
"title",
|
||||
"canonical_url"
|
||||
],
|
||||
"properties": {
|
||||
"repository_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "uri"
|
||||
},
|
||||
"organization": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"rights": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"license",
|
||||
"license_file"
|
||||
],
|
||||
"properties": {
|
||||
"license": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"license_file": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"skill_defaults": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"task_id",
|
||||
"require_plan_approval",
|
||||
"preserve_existing_content",
|
||||
"use_smallest_fitting_profile"
|
||||
],
|
||||
"properties": {
|
||||
"task_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"require_plan_approval": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"preserve_existing_content": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"use_smallest_fitting_profile": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"verified_by": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"verified_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"namedEntity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
@@ -0,0 +1,397 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://projects.eddiesoehnel.com/adminprojects/repo-template/schemas/repository.schema.json",
|
||||
"title": "AI-Ready Repository Manifest",
|
||||
"description": "Machine-readable identity, discovery, rights, provenance, maintenance, and AI retrieval metadata for an AI-ready repository.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"schema_version",
|
||||
"repository_id",
|
||||
"name",
|
||||
"title",
|
||||
"description",
|
||||
"authors",
|
||||
"publisher",
|
||||
"repository_status",
|
||||
"visibility",
|
||||
"maturity",
|
||||
"version",
|
||||
"resource_types",
|
||||
"entrypoints",
|
||||
"rights",
|
||||
"maintenance",
|
||||
"ai_retrieval"
|
||||
],
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string"
|
||||
},
|
||||
"schema_version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+$"
|
||||
},
|
||||
"repository_id": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
|
||||
},
|
||||
"title": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"description": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"summary": {
|
||||
"type": "string"
|
||||
},
|
||||
"canonical_url": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "uri"
|
||||
},
|
||||
"organization": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
"authors": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
}
|
||||
},
|
||||
"publisher": {
|
||||
"$ref": "#/$defs/namedEntity"
|
||||
},
|
||||
"repository_status": {
|
||||
"enum": [
|
||||
"draft",
|
||||
"active",
|
||||
"deprecated",
|
||||
"archived",
|
||||
"superseded"
|
||||
]
|
||||
},
|
||||
"visibility": {
|
||||
"enum": [
|
||||
"public",
|
||||
"restricted",
|
||||
"private"
|
||||
]
|
||||
},
|
||||
"maturity": {
|
||||
"enum": [
|
||||
"concept",
|
||||
"experimental",
|
||||
"prototype",
|
||||
"beta",
|
||||
"stable",
|
||||
"production"
|
||||
]
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$"
|
||||
},
|
||||
"created_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"updated_at": {
|
||||
"type": "string",
|
||||
"format": "date"
|
||||
},
|
||||
"resource_types": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"topics": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
}
|
||||
},
|
||||
"audiences": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"problems_solved": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"capabilities": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"use_cases": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"required_inputs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"description",
|
||||
"required",
|
||||
"sensitivity"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"required": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"sensitivity": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"expected_outputs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name",
|
||||
"description",
|
||||
"format"
|
||||
],
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"entrypoints": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"human",
|
||||
"ai"
|
||||
],
|
||||
"properties": {
|
||||
"human": {
|
||||
"type": "string"
|
||||
},
|
||||
"ai": {
|
||||
"type": "string"
|
||||
},
|
||||
"primary_skill": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"primary_agent": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"primary_script": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"primary_template": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"contents": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"path",
|
||||
"type",
|
||||
"title",
|
||||
"description",
|
||||
"required_for_use"
|
||||
],
|
||||
"properties": {
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": {
|
||||
"type": "string"
|
||||
},
|
||||
"required_for_use": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"relationships": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
}
|
||||
},
|
||||
"access": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"rights": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"license",
|
||||
"license_file"
|
||||
],
|
||||
"properties": {
|
||||
"license": {
|
||||
"type": "string"
|
||||
},
|
||||
"license_file": {
|
||||
"type": "string"
|
||||
},
|
||||
"usage_guidance": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"provenance": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"origin_type": {
|
||||
"type": "string"
|
||||
},
|
||||
"creation_method": {
|
||||
"type": "string"
|
||||
},
|
||||
"contributors": {
|
||||
"type": "array"
|
||||
},
|
||||
"source_references": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"maintenance": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"maintainer",
|
||||
"review_frequency",
|
||||
"deprecated",
|
||||
"archived"
|
||||
],
|
||||
"properties": {
|
||||
"maintainer": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"review_frequency": {
|
||||
"type": "string"
|
||||
},
|
||||
"last_reviewed_at": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
],
|
||||
"format": "date"
|
||||
},
|
||||
"deprecated": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"archived": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"ai_retrieval": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"read_first",
|
||||
"retrieve_as_needed",
|
||||
"exclude_by_default",
|
||||
"instructions"
|
||||
],
|
||||
"properties": {
|
||||
"read_first": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"retrieve_as_needed": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"exclude_by_default": {
|
||||
"$ref": "#/$defs/stringArray"
|
||||
},
|
||||
"instructions": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"$defs": {
|
||||
"stringArray": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"uniqueItems": true
|
||||
},
|
||||
"namedEntity": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"url": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user