protection

protection schema from Wikimedia Enterprise API spec

Open DataPublic APIsOpen KnowledgeEncyclopediaKnowledge GraphOpen SourceNon-Profit

Properties

Name Type Description
expiry string
level string
type string
View JSON Schema on GitHub

JSON Schema

wikimedia-enterprise-protection-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wikipedia/refs/heads/main/json-schema/wikimedia-enterprise-protection-schema.json",
  "title": "protection",
  "description": "protection schema from Wikimedia Enterprise API spec",
  "type": "object",
  "properties": {
    "expiry": {
      "type": "string",
      "enum": [
        "infinite",
        "indefinite",
        "infinity",
        "never"
      ],
      "example": "infinity"
    },
    "level": {
      "type": "string",
      "example": "extendedconfirmed"
    },
    "type": {
      "type": "string",
      "example": "edit"
    }
  }
}