{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/enterprise-wikimedia-com/json-schema/enterprise-wikimedia-com-code-schema.json",
  "title": "code",
  "description": "Type of Wikimedia project, such as Wikipedia or Wikibooks",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/enterprise-wikimedia-com-codes-api-openapi.yml#/components/schemas/code",
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string",
      "description": "Project code shared by all projects of this type, e.g. `wiki` for Wikipedia projects"
    },
    "name": {
      "type": "string",
      "description": "Name of the project type"
    },
    "description": {
      "type": "string",
      "description": "Short description of the project type"
    }
  }
}