AgriWebb API
GraphQL/Inputs

AddFieldInput

No description

input AddFieldInput {
  id: ID
  name: String!
  geometry: GeoFeatureInput!
  farmId: ID!
  totalArea: Float!
  grazableArea: Float!
  unit: AreaUnit!
  landUse: LandUse
}

Fields

AddFieldInput.id ● ID
scalar

Unique identifier of the field

AddFieldInput.name ● String!
non-null
scalar

Name of the field

AddFieldInput.geometry ● GeoFeatureInput!
non-null
input

Geometry of the field

AddFieldInput.farmId ● ID!
non-null
scalar

Farm identifier for the field

AddFieldInput.totalArea ● Float!
non-null
scalar

The total area of the field in hectares

AddFieldInput.grazableArea ● Float!
non-null
scalar

The grazable area of the field in hectares

AddFieldInput.unit ● AreaUnit!
non-null
enum

This represents the type of unit used to measure the field area

AddFieldInput.landUse ● LandUse
enum

Describes the land use for the given area

Member Of

addFields

mutation

On this page

FieldsAddFieldInput.id ● ID
scalar
AddFieldInput.name ● String!
non-null
scalar
AddFieldInput.geometry ● GeoFeatureInput!
non-null
input
AddFieldInput.farmId ● ID!
non-null
scalar
AddFieldInput.totalArea ● Float!
non-null
scalar
AddFieldInput.grazableArea ● Float!
non-null
scalar
AddFieldInput.unit ● AreaUnit!
non-null
enum
AddFieldInput.landUse ● LandUse
enum
Member Of