Skip to content

armgit / ODS

Public Imported from GitHub
0

ODS V3 Pre-Release: Public testing and refinement ahead of the official V3 launch. Turn your PC, Mac, or Linux box into a private AI server.

1.4 KB
Raw Blame
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://osmantic.com/pixel/schemas/local-capability-pack-v1.schema.json",
  "title": "Pixel local capability pack v1",
  "type": "object",
  "additionalProperties": false,
  "required": ["$schema", "schemaVersion", "kind", "id", "version", "name", "description", "tools", "classifications", "trust", "authority", "rawContentStored", "retentionDays"],
  "properties": {
    "$schema": {"const": "https://osmantic.com/pixel/schemas/local-capability-pack-v1.schema.json"},
    "schemaVersion": {"const": 1},
    "kind": {"const": "local-capability"},
    "id": {"type": "string", "pattern": "^[a-z][a-z0-9-]{1,62}$"},
    "version": {"type": "string", "pattern": "^(?:0|[1-9][0-9]{0,8})\\.(?:0|[1-9][0-9]{0,8})\\.(?:0|[1-9][0-9]{0,8})$"},
    "name": {"type": "string", "minLength": 1, "maxLength": 100},
    "description": {"type": "string", "minLength": 1, "maxLength": 500},
    "tools": {"type": "array", "minItems": 1, "maxItems": 16, "uniqueItems": true, "items": {"type": "string", "pattern": "^pixel_[a-z0-9_]{2,63}$"}},
    "classifications": {"type": "array", "minItems": 1, "maxItems": 3, "uniqueItems": true, "items": {"enum": ["public", "internal-derived", "confidential"]}},
    "trust": {"const": "untrusted-projection"},
    "authority": {"const": "observe-only"},
    "rawContentStored": {"const": false},
    "retentionDays": {"type": "integer", "minimum": 1, "maximum": 365}
  }
}