generated from coulomb/repo-seed
Implement source lock and submission package baseline
This commit is contained in:
@@ -41,8 +41,38 @@
|
||||
"type": "string",
|
||||
"enum": ["candidate", "incubating", "active", "external", "deprecated"]
|
||||
},
|
||||
"supported_frameworks": { "type": "array", "items": { "type": "string" } },
|
||||
"authorities": { "type": "array", "items": { "type": "string" } },
|
||||
"supported_frameworks": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["string", "object"],
|
||||
"additionalProperties": false,
|
||||
"required": ["id"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"version": { "type": ["string", "null"] },
|
||||
"source_url": { "type": ["string", "null"] },
|
||||
"authority_ref": { "type": ["string", "null"] },
|
||||
"description": { "type": ["string", "null"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"authorities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": ["string", "object"],
|
||||
"additionalProperties": false,
|
||||
"required": ["id"],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"name": { "type": ["string", "null"] },
|
||||
"version": { "type": ["string", "null"] },
|
||||
"source_url": { "type": ["string", "null"] },
|
||||
"license": { "type": ["string", "null"] },
|
||||
"access": { "type": ["string", "null"] }
|
||||
}
|
||||
}
|
||||
},
|
||||
"metadata": { "type": "object" },
|
||||
"profile_schemas": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
@@ -89,6 +119,7 @@
|
||||
"module_path": { "type": ["string", "null"] },
|
||||
"callable": { "type": ["string", "null"] },
|
||||
"command": { "type": ["array", "null"], "items": { "type": "string" } },
|
||||
"metadata": { "type": "object" },
|
||||
"description": { "type": ["string", "null"] }
|
||||
}
|
||||
}
|
||||
@@ -105,6 +136,7 @@
|
||||
"module_path": { "type": "string" },
|
||||
"callable": { "type": "string" },
|
||||
"runner_ref": { "type": ["string", "null"] },
|
||||
"metadata": { "type": "object" },
|
||||
"description": { "type": ["string", "null"] }
|
||||
}
|
||||
}
|
||||
|
||||
34
docs/schemas/source-lock.schema.json
Normal file
34
docs/schemas/source-lock.schema.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Guide Board Source Lock",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"schema_version",
|
||||
"created_at",
|
||||
"framework_refs",
|
||||
"extension_refs",
|
||||
"frameworks",
|
||||
"extensions",
|
||||
"mapping_sets",
|
||||
"profiles",
|
||||
"policy_refs",
|
||||
"authorities",
|
||||
"metadata_hooks"
|
||||
],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"schema_version": { "type": "string" },
|
||||
"created_at": { "type": "string" },
|
||||
"framework_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"extension_refs": { "type": "array", "items": { "type": "string" } },
|
||||
"frameworks": { "type": "array", "items": { "type": "object" } },
|
||||
"extensions": { "type": "array", "items": { "type": "object" } },
|
||||
"mapping_sets": { "type": "array", "items": { "type": "object" } },
|
||||
"profiles": { "type": "object" },
|
||||
"policy_refs": { "type": "object" },
|
||||
"authorities": { "type": "array", "items": { "type": "object" } },
|
||||
"metadata_hooks": { "type": "object" }
|
||||
}
|
||||
}
|
||||
36
docs/schemas/submission-package.schema.json
Normal file
36
docs/schemas/submission-package.schema.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "Guide Board Submission Package Manifest",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"id",
|
||||
"schema_version",
|
||||
"run_id",
|
||||
"created_at",
|
||||
"package_identity",
|
||||
"source_lock_ref",
|
||||
"source_lock",
|
||||
"reports",
|
||||
"normalized_outputs",
|
||||
"profile_snapshots",
|
||||
"artifact_manifest",
|
||||
"reported_metadata",
|
||||
"certification_boundary"
|
||||
],
|
||||
"properties": {
|
||||
"id": { "type": "string" },
|
||||
"schema_version": { "type": "string" },
|
||||
"run_id": { "type": "string" },
|
||||
"created_at": { "type": "string" },
|
||||
"package_identity": { "type": "object" },
|
||||
"source_lock_ref": { "type": "string" },
|
||||
"source_lock": { "type": "object" },
|
||||
"reports": { "type": "array", "items": { "type": "object" } },
|
||||
"normalized_outputs": { "type": "array", "items": { "type": "object" } },
|
||||
"profile_snapshots": { "type": "array", "items": { "type": "object" } },
|
||||
"artifact_manifest": { "type": "array", "items": { "type": "object" } },
|
||||
"reported_metadata": { "type": "array", "items": { "type": "object" } },
|
||||
"certification_boundary": { "type": "string" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user