from marshmallow import Schema, fields


class DetailValidator(Schema):
    field_name = fields.Str(required=True)
    field_value = fields.Str(required=True)


class ItemsValidator(Schema):
    product = fields.Str(required=True)
    details = fields.List(fields.Nested(DetailValidator, required=True))


class CommandValidator(Schema):
    customer = fields.Str(required=True)
    command = fields.Str(required=False)
    items = fields.List(fields.Nested(ItemsValidator, required=True))

1b8d3902cbce9783bedfe80cef55005f26ddac6f
<mask token>


class ItemsValidator(Schema):
    <mask token>
    <mask token>


class CommandValidator(Schema):
    customer = fields.Str(required=True)
    command = fields.Str(required=False)
    items = fields.List(fields.Nested(ItemsValidator, required=True))

<mask token>


class ItemsValidator(Schema):
    product = fields.Str(required=True)
    details = fields.List(fields.Nested(DetailValidator, required=True))


class CommandValidator(Schema):
    customer = fields.Str(required=True)
    command = fields.Str(required=False)
    items = fields.List(fields.Nested(ItemsValidator, required=True))

<mask token>


class DetailValidator(Schema):
    <mask token>
    <mask token>


class ItemsValidator(Schema):
    product = fields.Str(required=True)
    details = fields.List(fields.Nested(DetailValidator, required=True))


class CommandValidator(Schema):
    customer = fields.Str(required=True)
    command = fields.Str(required=False)
    items = fields.List(fields.Nested(ItemsValidator, required=True))

<mask token>


class DetailValidator(Schema):
    field_name = fields.Str(required=True)
    field_value = fields.Str(required=True)


class ItemsValidator(Schema):
    product = fields.Str(required=True)
    details = fields.List(fields.Nested(DetailValidator, required=True))


class CommandValidator(Schema):
    customer = fields.Str(required=True)
    command = fields.Str(required=False)
    items = fields.List(fields.Nested(ItemsValidator, required=True))

from marshmallow import Schema, fields


class DetailValidator(Schema):
    field_name = fields.Str(required=True)
    field_value = fields.Str(required=True)


class ItemsValidator(Schema):
    product = fields.Str(required=True)
    details = fields.List(fields.Nested(DetailValidator, required=True))


class CommandValidator(Schema):
    customer = fields.Str(required=True)
    command = fields.Str(required=False)
    items = fields.List(fields.Nested(ItemsValidator, required=True))
