This commit is contained in:
2026-07-20 21:03:05 +02:00
parent dc60551e07
commit c3c85eef21
70 changed files with 8049 additions and 1 deletions
+55
View File
@@ -0,0 +1,55 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.org/schema/v1/declaration.schema.json",
"title": "AI Usage Declaration",
"type": "object",
"additionalProperties": false,
"required": ["@context", "@type", "schemaVersion", "language", "components", "assurance"],
"properties": {
"@context": {"type": "string"},
"@type": {"const": "AIUsageDeclaration"},
"schemaVersion": {"const": "1.1"},
"subject": {"type": "string", "format": "uri"},
"declaredAt": {"type": "string", "format": "date-time"},
"language": {"enum": ["de", "en", "fr", "es", "it", "nl", "pt", "pl"]},
"components": {"type": "object", "minProperties": 1, "additionalProperties": {"$ref": "#/$defs/component"}},
"editorialResponsibility": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {"type": "string"},
"url": {"type": "string", "format": "uri"}
}
},
"assurance": {"enum": ["selfDeclared", "technicallyRecorded", "signed", "verified"]},
"presentation": {
"type": "object",
"additionalProperties": false,
"properties": {
"title": {"type": "string", "maxLength": 120},
"description": {"type": "string", "maxLength": 500},
"badgeLabel": {"type": "string", "maxLength": 40},
"badgeMessage": {"type": "string", "maxLength": 80},
"leftColor": {"type": "string", "pattern": "^#[0-9A-Fa-f]{6}$"},
"rightColor": {"type": "string", "pattern": "^#[0-9A-Fa-f]{6}$"}
}
}
},
"$defs": {
"component": {
"type": "object",
"additionalProperties": false,
"required": ["aiExtent", "humanReview"],
"properties": {
"aiExtent": {"enum": ["none", "assisted", "partial", "mostly", "full"]},
"activities": {
"type": "array",
"uniqueItems": true,
"items": {"enum": ["research", "summarisation", "drafting", "generation", "translation", "editing", "imageGeneration", "codeGeneration", "transcription", "classification"]}
},
"humanReview": {"enum": ["none", "basic", "editorial", "expert"]},
"note": {"type": "string", "maxLength": 500}
}
}
}
}
+34
View File
@@ -0,0 +1,34 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.org/schema/license-v1.json",
"title": "Universal Product Licence Claims",
"type": "object",
"additionalProperties": false,
"required": ["version", "licenseId", "issuer", "customer", "product", "edition", "issuedAt", "expiresAt", "verification"],
"properties": {
"version": {"const": 1},
"licenseId": {"type": "string", "minLength": 1, "maxLength": 200},
"issuer": {"type": "string", "minLength": 1, "maxLength": 200},
"customer": {"type": "string", "minLength": 1, "maxLength": 300},
"product": {"type": "string", "minLength": 1, "maxLength": 200},
"edition": {"type": "string", "minLength": 1, "maxLength": 100},
"features": {"type": "array", "items": {"type": "string", "minLength": 1}, "uniqueItems": true},
"limits": {"type": "object", "additionalProperties": {"type": "integer", "minimum": 0}},
"domains": {"type": "array", "items": {"type": "string", "minLength": 1}, "uniqueItems": true},
"instanceIds": {"type": "array", "items": {"type": "string", "minLength": 1}, "uniqueItems": true},
"issuedAt": {"type": "integer", "minimum": 1},
"notBefore": {"type": "integer", "minimum": 1},
"expiresAt": {"type": "integer", "minimum": 1},
"verification": {
"type": "object",
"additionalProperties": false,
"required": ["mode"],
"properties": {
"mode": {"enum": ["offline", "hybrid", "online"]},
"leaseTtlSeconds": {"type": "integer", "minimum": 0},
"offlineGraceSeconds": {"type": "integer", "minimum": 0}
}
},
"metadata": {"type": "object", "additionalProperties": {"type": "string"}}
}
}
+12
View File
@@ -0,0 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://example.org/schema/license-trust-store-v1.json",
"title": "Licence Trust Store",
"type": "object",
"additionalProperties": false,
"required": ["licenseKeys", "leaseKeys"],
"properties": {
"licenseKeys": {"type": "object", "additionalProperties": {"type": "string", "minLength": 40}},
"leaseKeys": {"type": "object", "additionalProperties": {"type": "string", "minLength": 40}}
}
}