{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudpepper-io/json-schema/cloudpepper-io-module-schema.json",
  "title": "Module",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudpepper-io-openapi.yml#/components/schemas/Module",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the module repository"
    },
    "repo": {
      "type": "string",
      "description": "Repository URL or identifier"
    },
    "branch": {
      "type": "string",
      "description": "Branch name being used"
    },
    "dirs": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      },
      "description": "Specific directories used from the repository; null or [\"*\"] means the whole repository"
    }
  }
}