{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://mfeflow.github.io/mfeflow/schema/feature-registry-index.json",
  "title": "feature registry index",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "items": {
      "type": "array",
      "maxItems": 1000,
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "pattern": "^[a-z][a-z0-9-]*$"
          },
          "version": {
            "type": "string"
          },
          "description": {
            "type": "string",
            "maxLength": 300
          },
          "keywords": {
            "type": "array",
            "maxItems": 20,
            "items": {
              "type": "string",
              "maxLength": 40
            }
          }
        },
        "required": [
          "name",
          "version",
          "description"
        ]
      }
    }
  },
  "required": [
    "items"
  ]
}
