added
This commit is contained in:
1 parent
240a2d56a5
commit
8d3e7e57d2
22 files changed
+3587
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user