{
    "plannedwork": {
        "label": "Planned Work",
        "content_type": "decimal_number",
        "is_required": true
    },
    "calculatedwork": {
        "label": "Calculated Work",
        "content_type": "decimal_number",
        "calculated": true
    },
    "resource": {
        "label": "Resource",
        "content_type": "record",
        "references": "Entity",
        "referenceField": "title",
        "is_required": true,
        "morph": "entity",
        "morphFunction": "availableEntities",
        "morphTypes": ["Employee", "Vendor"]
    },
    "projecttask": {
        "label": "Task",
        "content_type": "record",
        "references": "ProjectTask",
        "referenceField": "title",
        "is_required": true
    },
    "serviceitem": {
        "label": "Service Item",
        "content_type": "record",
        "references": "ServiceItem",
        "referenceField": "title"
    },
    "cost": {
        "label": "Cost",
        "content_type": "decimal_number",
        "calculated": true
    },
    "unitcost": {
        "label": "Unit Cost",
        "content_type": "decimal_number",
        "calculated": true
    },
    "units": {
        "label": "Units",
        "content_type": "percent",
        "minvalue": "5",
        "maxvalue": "500"
    }
}
