UNPKG

@poseidat/schemas

Version:

The core schemas for the PoseiDAT data interchange formats

49 lines (48 loc) 1.71 kB
{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://poseidat.org/schema/core/fishing-catch-processed.json", "description": "Details of caught fish after it has been processed", "title": "Fishing catch processed", "properties": { "fish_presentation": { "description": "The fish presentation code. Known as PR. Examples: WHL, GUT, FIL", "$ref": "https://poseidat.org/schema/enum/fish-presentation.json" }, "fish_state": { "description": "The fish preservation state. NLD: PS. Examples: FRO, ALI, SMO.", "$ref": "https://poseidat.org/schema/enum/fish-state.json" }, "package_type": { "description": "The package type code. NLD: TY", "$ref": "https://poseidat.org/schema/enum/fish-package-type.json" }, "number_of_packages": { "description": "The number of packages. NLD: NN", "type": "number" }, "average_package_weight": { "description": "Average product weight, measured in Kg. NLD: AW", "type": "number" }, "package_labels": { "description": "An array of strings with the package labels for each package", "type": "array", "items": { "type": "string" } }, "fish_freshness": { "description": "The fish freshness category. NLD: FF. Examples: A, E, V", "$ref": "https://poseidat.org/schema/enum/fish-freshness.json" }, "conversion_factor": { "description": "The conversion factor (ratio) from dead weight to live weight. Depends on combination of fish species, presentation and state. NLD: CF", "type": "number" } }, "required": [ "fish_presentation", "fish_state" ], "type": "object" }