# coding: utf-8

"""
    Docling Serve

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class GroupLabel(str, Enum):
    """
    GroupLabel.
    """

    """
    allowed enum values
    """
    UNSPECIFIED = 'unspecified'
    LIST = 'list'
    ORDERED_LIST = 'ordered_list'
    CHAPTER = 'chapter'
    SECTION = 'section'
    SHEET = 'sheet'
    SLIDE = 'slide'
    FORM_AREA = 'form_area'
    KEY_VALUE_AREA = 'key_value_area'
    COMMENT_SECTION = 'comment_section'
    INLINE = 'inline'
    PICTURE_AREA = 'picture_area'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of GroupLabel from a JSON string"""
        return cls(json.loads(json_str))


