{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://metkagram.github.io/api/v1/schemas/set.json",
  "title": "Metkagram Study Set",
  "type": "object",
  "required": [
    "id",
    "title_en",
    "title_ru",
    "description",
    "level",
    "path"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "title_en": {
      "type": "string"
    },
    "title_ru": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "level": {
      "type": "string"
    },
    "path": {
      "type": "string"
    },
    "pattern_count": {
      "type": "integer"
    },
    "patterns": {
      "type": "array"
    },
    "canonical_url": {
      "type": "string",
      "format": "uri"
    }
  }
}
