AgStack Foundation · Schema

Farm

AgricultureLinux FoundationOpen SourceGeospatialPrecision AgricultureLinked Data

Properties

Name Type Description
status object
deleted_at string
created_at string
updated_at string
id string
name string
description string
administrator string
telephone string
vatID string
hasAgriParcel array
contactPerson object
address object
View JSON Schema on GitHub

JSON Schema

agstack-openagri-farm-calendar-farm-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agstack.org/schemas/Farm.json",
  "title": "Farm",
  "type": "object",
  "properties": {
    "status": {
      "allOf": [
        {
          "$ref": "#/components/schemas/StatusEnum"
        }
      ],
      "minimum": -2147483648,
      "maximum": 2147483647
    },
    "deleted_at": {
      "type": "string",
      "format": "date-time",
      "nullable": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "readOnly": true
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "administrator": {
      "type": "string"
    },
    "telephone": {
      "type": "string"
    },
    "vatID": {
      "type": "string"
    },
    "hasAgriParcel": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "readOnly": true
    },
    "contactPerson": {
      "$ref": "#/components/schemas/ContactPersonField"
    },
    "address": {
      "$ref": "#/components/schemas/AddressField"
    }
  },
  "required": [
    "address",
    "administrator",
    "contactPerson",
    "created_at",
    "description",
    "hasAgriParcel",
    "id",
    "name",
    "telephone",
    "updated_at",
    "vatID"
  ]
}