Refactor code structure for improved readability and maintainability; optimize performance in key functions.

This commit is contained in:
master
2025-12-22 19:06:31 +02:00
parent dfaa2079aa
commit 4602ccc3a3
1444 changed files with 109919 additions and 8058 deletions

View File

@@ -0,0 +1,29 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://stellaops.io/schemas/spdx-jsonld-3.0.1.schema.json",
"title": "SPDX 3.0.1 JSON-LD (minimal)",
"type": "object",
"required": ["@context", "@graph"],
"properties": {
"@context": {
"const": "https://spdx.org/rdf/3.0.1/spdx-context.jsonld"
},
"@graph": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"required": ["type"],
"properties": {
"type": { "type": "string" },
"spdxId": { "type": "string" },
"@id": { "type": "string" }
},
"anyOf": [
{ "required": ["spdxId"] },
{ "required": ["@id"] }
]
}
}
}
}