Skip to main content

JobAssetTypeModel

Asset type profile.

Breaking Changes

No breaking changes.

Examples

Fill this template out with real values.

{
"deleted": "Boolean",
"id": "Integer",
"is_default": "Boolean",
"location_id": "Integer",
"name": "String",
"quantity": "Integer",
"require_numbers": "Boolean",
"weight": "Float"
}

Fields

deleted Boolean, Required

Is record deleted (soft delete).

  • One of 0, 1, True, False (case insensitive).

id Integer, Required

Resource identifier.


is_default Boolean, Required

Is asset the default asset.

  • One of 0, 1, True, False (case insensitive).

location_id Integer, Required

Location identifier.


name String, Required

Name (free text).

  • At least 1 and no more than 64 characters.

quantity Integer, Required

Asset type quantity.

  • Greater than or equal to 0.

require_numbers Boolean, Required

Require asset numbers.

  • One of 0, 1, True, False (case insensitive).

weight Float, Required

  • Greater than or equal to 0.