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.9 KB
Raw Blame
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://ods.ai/schemas/service-template.v1.json",
  "title": "ODS Service Template v1",
  "type": "object",
  "required": ["schema_version", "template"],
  "properties": {
    "schema_version": {
      "const": "ods.templates.v1"
    },
    "template": {
      "type": "object",
      "required": ["id", "name", "services"],
      "properties": {
        "id": {
          "type": "string",
          "pattern": "^[a-z0-9][a-z0-9-]*$",
          "description": "Unique template identifier"
        },
        "name": {
          "type": "string",
          "minLength": 1,
          "description": "Human-readable template name"
        },
        "description": {
          "type": "string",
          "description": "Brief description of what this template provides"
        },
        "icon": {
          "type": "string",
          "description": "Lucide icon name for UI display"
        },
        "tags": {
          "type": "array",
          "items": { "type": "string" },
          "description": "Searchable tags for template discovery"
        },
        "services": {
          "type": "array",
          "items": { "type": "string", "pattern": "^[a-z0-9][a-z0-9-]*$" },
          "minItems": 1,
          "description": "Service IDs to enable when this template is applied"
        },
        "tier_minimum": {
          "type": "string",
          "pattern": "^T[0-9]+$",
          "description": "Minimum hardware tier required (e.g. T1, T2)"
        },
        "estimated_disk_gb": {
          "type": "integer",
          "minimum": 1,
          "description": "Estimated disk space in GB"
        },
        "service_notes": {
          "type": "object",
          "additionalProperties": { "type": "string" },
          "description": "Per-service notes shown in the UI"
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}