Repository Public
1{2 "$schema": "https://json-schema.org/draft/2020-12/schema",3 "$id": "https://www.orixlab.dev/schemas/cosmos/pack-index.v1.schema.json",4 "$comment": "ORIX Cosmos | File: DataPipeline/packs/schema/pack-index.v1.schema.json | Description: JSON Schema of the pack index document (catalogue of downloadable packs), schema version 1. | Author: Simon-Pierre Boucher | Contact: contact@spboucher.ai",5 "title": "ORIX Cosmos pack index, schema version 1",6 "type": "object",7 "required": ["schemaVersion", "packs"],8 "properties": {9 "schemaVersion": { "const": 1 },10 "generated": { "type": "string", "description": "ISO-8601 UTC generation time." },11 "packs": { "type": "array", "items": { "$ref": "#/$defs/entry" } }12 },13 "$defs": {14 "entry": {15 "type": "object",16 "required": ["id", "version", "kind", "title", "installedSize", "archiveSize", "license", "redistribution", "archiveURL", "archiveSHA256"],17 "additionalProperties": false,18 "properties": {19 "id": { "type": "string", "pattern": "^[a-z0-9][a-z0-9._-]{0,63}$" },20 "version": { "type": "string" },21 "kind": { "enum": ["ephemeris", "catalogue", "textures", "sky-imagery", "missions", "satellites", "time", "other"] },22 "title": { "type": "object", "required": ["en"], "additionalProperties": { "type": "string" } },23 "description": { "type": "object", "required": ["en"], "additionalProperties": { "type": "string" } },24 "installedSize": { "type": "integer", "minimum": 0 },25 "archiveSize": { "type": "integer", "minimum": 0 },26 "license": { "type": "string" },27 "coverage": {},28 "redistribution": { "enum": ["redistributable", "localBuildOnly"] },29 "archiveURL": { "type": "string", "description": "Absolute https URL, or a reference relative to the index document." },30 "archiveSHA256": { "type": "string", "pattern": "^[0-9a-f]{64}$" },31 "minimumAppVersion": { "type": "string" },32 "dependencies": { "type": "array", "items": { "type": "object", "required": ["id"], "properties": { "id": { "type": "string" }, "minimumVersion": { "type": "string" } } } },33 "signatureKeyID": { "type": "string" }34 }35 }36 }37}38