AgStack Foundation · Schema

AgriculturalMachine

AgricultureLinux FoundationOpen SourceGeospatialPrecision AgricultureLinked Data

Properties

Name Type Description
id string
name string
description string
hasAgriParcel string
purchase_date string
manufacturer string
model string
seria_number string
status object
invalidatedAtTime string
dateCreated string
dateModified string
View JSON Schema on GitHub

JSON Schema

agstack-openagri-farm-calendar-agriculturalmachine-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agstack.org/schemas/AgriculturalMachine.json",
  "title": "AgriculturalMachine",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string",
      "maxLength": 100
    },
    "description": {
      "type": "string",
      "nullable": true
    },
    "hasAgriParcel": {
      "type": "string",
      "format": "uuid"
    },
    "purchase_date": {
      "type": "string",
      "format": "date"
    },
    "manufacturer": {
      "type": "string",
      "maxLength": 255
    },
    "model": {
      "type": "string",
      "maxLength": 255
    },
    "seria_number": {
      "type": "string",
      "maxLength": 255
    },
    "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
    }
  },
  "required": [
    "dateCreated",
    "dateModified",
    "hasAgriParcel",
    "id",
    "invalidatedAtTime",
    "manufacturer",
    "model",
    "name",
    "purchase_date",
    "seria_number"
  ]
}