{
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "$id": "partner.schema.json",
    "title": "Partner",
    "description": "Партнер",
    "type": "object",
    "properties": {
        "id": {
            "type": "string",
            "format": "UUID",
            "description": "Идентификатор"
        },
        "name": {
            "type": "string",
            "description": "Наименование"
        },
        "status": {
            "enum": [
                "ACTIVE",
                "INACTIVE"
            ],
            "description": "Статус \n\n - `ACTIVE`: Активен\n - `INACTIVE`: Заблокирован"
        }
    },
    "additionalProperties": false,
    "required": [
        "id",
        "status",
        "name"
    ]
}