{ "$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" } } }