fields:
    name:
        label: Name
        span: auto
        type: text
    slug:
        label: Slug
        span: auto
        required: 1
        defaultFrom: name
        type: text
        preset:
            field: name
            type: slug
    mark:
        label: Marka
        span: auto
        type: text
    created_at:
        label: 'Created at'
        mode: datetime
        span: auto
        readOnly: 1
        type: datepicker
    manufacturer:
        label: Manufacturer
        span: auto
        type: text
    country:
        label: 'Manufacturer country'
        span: auto
        type: text
    quantity:
        label: Quantity
        span: auto
        type: number
    ends_at:
        label: 'Ends at'
        mode: datetime
        span: auto
        type: datepicker
    measure:
        label: Measure
        nameFrom: name
        descriptionFrom: description
        span: auto
        type: relation
    price:
        label: Price
        span: auto
        type: number
    description:
        label: Description
        size: ''
        mode: tab
        span: auto
        type: text
    currency:
        label: Currency
        nameFrom: name
        descriptionFrom: description
        span: auto
        type: relation
    payment_term:
        label: 'Payment term'
        nameFrom: name
        descriptionFrom: description
        scope: payment
        span: auto
        type: relation
    delivery_term:
        label: 'Delivery term'
        nameFrom: name
        descriptionFrom: description
        scope: delivery
        span: auto
        type: relation
    place:
        label: Place
        span: auto
        type: text
    vendor:
        label: Seller
        nameFrom: email
        descriptionFrom: description
        span: auto
        type: relation
    payed_fee_for_publ:
        label: 'Payed for publication'
        span: auto
        disabled: 1
        type: number
    images:
        label: Images
        mode: image
        imageWidth: '320'
        imageHeight: '225'
        useCaption: true
        thumbOptions:
            mode: crop
            extension: auto
        span: auto
        type: fileupload
    packaging:
        label: Packaging
        options:
            'no': 'no'
            'yes': 'yes'
        span: auto
        type: balloon-selector
    market_type:
        label: 'Market type'
        options:
            in: in
            out: out
        span: left
        type: balloon-selector
tabs:
    fields:
        categories:
            label: Category
            nameFrom: name
            descriptionFrom: description
            scope: active
            span: auto
            type: relation
            tab: Categories
            required: 1
        status:
            label: Status
            options:
                draft: Draft
                new: New
                approved: Approved
                denied: Denied
                disabled: Disabled
            span: auto
            required: 1
            type: balloon-selector
            tab: 'Status Tab'
        status_note:
            label: 'Status note'
            size: ''
            span: auto
            type: textarea
            tab: 'Status Tab'
