{
  "$comment": "GENERATED FILE — DO NOT EDIT DIRECTLY. Source: packages/schemas/src. Regenerate with `npm run generate:json-schema --workspace=@spacecorp/schemas`.",
  "$id": "https://spacecorp.io/schemas/research.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "schema_version": {
      "type": "number",
      "const": 1
    },
    "id": {
      "type": "string",
      "pattern": "^research-[a-z0-9][a-z0-9-]*$"
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9-]*$"
    },
    "title": {
      "type": "string",
      "minLength": 1
    },
    "summary": {
      "type": "string",
      "minLength": 20
    },
    "status": {
      "type": "string",
      "enum": [
        "idea",
        "research",
        "prototype",
        "active",
        "stable",
        "maintenance",
        "paused",
        "archived",
        "deprecated"
      ]
    },
    "visibility": {
      "default": "public",
      "type": "string",
      "enum": [
        "public",
        "unlisted",
        "restricted",
        "private"
      ]
    },
    "created": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "updated": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
    },
    "projects": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^scp-[a-z0-9][a-z0-9-]*$"
      }
    },
    "tags": {
      "minItems": 0,
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1
      }
    },
    "sources": {
      "default": [],
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^src-[a-z0-9][a-z0-9-]*$"
      }
    }
  },
  "required": [
    "schema_version",
    "id",
    "slug",
    "title",
    "summary",
    "status",
    "created",
    "updated",
    "projects",
    "tags"
  ],
  "additionalProperties": false
}
