AgStack Foundation · Schema

FarmCrop

AgricultureLinux FoundationOpen SourceGeospatialPrecision AgricultureLinked Data

Properties

Name Type Description
status object
invalidatedAtTime string
dateCreated string
dateModified string
id string
name string
description string
hasAgriParcel string
cropSpecies object
growth_stage string
View JSON Schema on GitHub

JSON Schema

agstack-openagri-farm-calendar-farmcrop-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agstack.org/schemas/FarmCrop.json",
  "title": "FarmCrop",
  "type": "object",
  "properties": {
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StatusEnum"
        }
      ],
      "minimum": -2147483648,
      "maximum": 2147483647
    },
    "invalidatedAtTime": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "dateCreated": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "dateModified": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 100
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "hasAgriParcel": {
      "type": "string",
      "format": "uuid"
    },
    "cropSpecies": {
      "$ref": "#/components/schemas/CropSpeciesSerializerField"
    },
    "growth_stage": {
      "type": "string",
      "nullable": true,
      "maxLength": 255
    }
  },
  "required": [
    "cropSpecies",
    "dateCreated",
    "dateModified",
    "hasAgriParcel",
    "id",
    "invalidatedAtTime",
    "name"
  ]
}