Tags:
not added yet
XML Schema NotesXML schema generator: http://www.freeformatter.com/xsd-generator.html More about XML schemas: https://www.w3schools.com/xml/schema_intro.asp Rotation Schema<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="management"> <xs:complexType> <xs:sequence> <xs:element name="man_data" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element name="crop"> <xs:complexType> <xs:sequence> <xs:element type="xs:float" name="default_yield"/> <xs:element type="xs:string" name="file_key"/> <xs:element type="xs:string" name="harvest_units"/> <xs:element type="xs:string" name="name"/> <xs:element type="xs:string" name="path"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:dateTime" name="date"/> <xs:element type="xs:string" name="interval"/> <xs:element name="op"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="add_residue"/> <xs:element type="xs:string" name="begin_growth"/> <xs:element type="xs:string" name="file_key"/> <xs:element type="xs:string" name="name"/> <xs:element type="xs:string" name="path"/> <xs:element name="processes" maxOccurs="unbounded" minOccurs="0"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="__type" minOccurs="0"/> <xs:element type="xs:string" name="name"/> <xs:element type="xs:integer" name="ridgeHeight" minOccurs="0"/> <xs:element type="xs:float" name="surfaceRoughness" minOccurs="0"/> <xs:element type="xs:float" name="tillageDepth" minOccurs="0"/> <xs:element type="xs:string" name="tillageType" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:float" name="stir"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:string" name="res_added"/> <xs:element name="residue"> <xs:complexType> <xs:sequence> <xs:element type="xs:string" name="file_key"/> <xs:element type="xs:string" name="name"/> <xs:element type="xs:string" name="path"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:integer" name="row_direction"/> <xs:element type="xs:float" name="yield"/> <xs:element type="xs:string" name="yield_unit"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element type="xs:string" name="name"/> <xs:element type="xs:string" name="path"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> Sample rotation XML<management> <man_data> <crop> <default_yield>1.50</default_yield> <file_key>2762038471819402861</file_key> <harvest_units>tons</harvest_units> <name>Alfalfa, spring seed</name> <path>vegetations</path> </crop> <date>2017-01-11T00:00:00-07:00</date> <interval>true</interval> <op> <add_residue>false</add_residue> <begin_growth>true</begin_growth> <file_key>2762038471819401734</file_key> <name>Drill or airseeder, double disk</name> <path>operations</path> <processes> <name>OP_PROCESS_FLATTEN_RES</name> </processes> <processes> <__type>LMODData.SurfaceAreaDisturbed:#IntegratedErosionToolkit</__type> <name>OP_PROCESS_DISTURB_SURF</name> <ridgeHeight>1</ridgeHeight> <surfaceRoughness>0.24</surfaceRoughness> <tillageDepth>1.5</tillageDepth> <tillageType>TILLAGE_TYPE_MIX_INV</tillageType> </processes> <processes> <name>OP_PROCESS_BEGIN_GROWTH</name> </processes> <stir>6.34</stir> </op> <res_added/> <residue> <file_key/> <name/> <path/> </residue> <row_direction>0</row_direction> <yield>1</yield> <yield_unit>tons</yield_unit> </man_data> <man_data> <crop> <default_yield>1.50</default_yield> <file_key>2762038471819402864</file_key> <harvest_units>tons</harvest_units> <name>Alfalfa, spring seed senes winter graze to y2 regrowth</name> <path>vegetations</path> </crop> <date>2017-01-11T00:00:00-07:00</date> <interval>true</interval> <op> <add_residue>false</add_residue> <begin_growth>true</begin_growth> <file_key>2762038471819401840</file_key> <name>Harvest, hay, legume</name> <path>operations</path> <processes> <name>OP_PROCESS_BIOMASS_REMOVAL</name> </processes> <processes> <name>OP_PROCESS_FLATTEN_RES</name> </processes> <processes> <name>OP_PROCESS_BEGIN_GROWTH</name> </processes> <stir>0</stir> </op> <res_added/> <residue> <file_key/> <name/> <path/> </residue> <row_direction>0</row_direction> <yield>1.50</yield> <yield_unit>tons</yield_unit> </man_data> <man_data> <crop> <default_yield>2.50</default_yield> <file_key>2762038471819402870</file_key> <harvest_units>tons</harvest_units> <name>Alfalfa, yr3 senes to yr4 regrowth</name> <path>vegetations</path> </crop> <date>2017-01-11T00:00:00-07:00</date> <interval>false</interval> <op> <add_residue>false</add_residue> <begin_growth>true</begin_growth> <file_key>2762038471819401840</file_key> <name>Harvest, hay, legume</name> <path>operations</path> <processes> <name>OP_PROCESS_BIOMASS_REMOVAL</name> </processes> <processes> <name>OP_PROCESS_FLATTEN_RES</name> </processes> <processes> <name>OP_PROCESS_BEGIN_GROWTH</name> </processes> <stir>0</stir> </op> <res_added/> <residue> <file_key/> <name/> <path/> </residue> <row_direction>0</row_direction> <yield>1.5</yield> <yield_unit>tons</yield_unit> </man_data> <man_data> <crop> <default_yield>1.75</default_yield> <file_key>2762038471819402872</file_key> <harvest_units>tons</harvest_units> <name>Alfalfa, yr4 regrowth after cutting</name> <path>vegetations</path> </crop> <date>2017-01-11T00:00:00-07:00</date> <interval>false</interval> <op> <add_residue>false</add_residue> <begin_growth>true</begin_growth> <file_key>2762038471819401840</file_key> <name>Harvest, hay, legume</name> <path>operations</path> <processes> <name>OP_PROCESS_BIOMASS_REMOVAL</name> </processes> <processes> <name>OP_PROCESS_FLATTEN_RES</name> </processes> <processes> <name>OP_PROCESS_BEGIN_GROWTH</name> </processes> <stir>0</stir> </op> <res_added/> <residue> <file_key/> <name/> <path/> </residue> <row_direction>0</row_direction> <yield>1.3</yield> <yield_unit>tons</yield_unit> </man_data> <man_data> <crop> <default_yield>1.75</default_yield> <file_key>2762038471819402872</file_key> <harvest_units>tons</harvest_units> <name>Alfalfa, yr4 regrowth after cutting</name> <path>vegetations</path> </crop> <date>2017-01-11T00:00:00-07:00</date> <interval>false</interval> <op> <add_residue>false</add_residue> <begin_growth>true</begin_growth> <file_key>2762038471819401840</file_key> <name>Harvest, hay, legume</name> <path>operations</path> <processes> <name>OP_PROCESS_BIOMASS_REMOVAL</name> </processes> <processes> <name>OP_PROCESS_FLATTEN_RES</name> </processes> <processes> <name>OP_PROCESS_BEGIN_GROWTH</name> </processes> <stir>0</stir> </op> <res_added/> <residue> <file_key/> <name/> <path/> </residue> <row_direction>0</row_direction> <yield>1.1</yield> <yield_unit>tons</yield_unit> </man_data> <name>default</name> <path>Edited managements</path> </management> JSON Schema NotesJSON Schema generator: https://jsonschema.net/#/editor JSON schema documentation: http://json-schema.org/documentation.html Rotation Schema{ "$schema": "http://json-schema.org/draft-04/schema#", "definitions": {}, "id": "http://example.com/example.json", "properties": { "Management_templates": { "id": "/properties/Management_templates", "items": { "id": "/properties/Management_templates/items", "properties": { "man_data": { "id": "/properties/Management_templates/items/properties/man_data", "items": { "id": "/properties/Management_templates/items/properties/man_data/items", "properties": { "crop": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/crop", "properties": { "default_yield": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/crop/properties/default_yield", "type": "string" }, "file_key": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/crop/properties/file_key", "type": "string" }, "harvest_units": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/crop/properties/harvest_units", "type": "string" }, "name": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/crop/properties/name", "type": "string" }, "path": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/crop/properties/path", "type": "string" } }, "required": [ "path", "harvest_units", "default_yield", "name", "file_key" ], "type": "object" }, "date": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/date", "type": "string" }, "interval": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/interval", "type": "boolean" }, "op": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op", "properties": { "add_residue": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/add_residue", "type": "boolean" }, "begin_growth": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/begin_growth", "type": "boolean" }, "file_key": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/file_key", "type": "string" }, "name": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/name", "type": "string" }, "path": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/path", "type": "string" }, "processes": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/processes", "items": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/processes/items", "properties": { "name": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/processes/items/properties/name", "type": "string" } }, "required": [ "name" ], "type": "object" }, "minItems": 1, "type": "array" }, "stir": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/op/properties/stir", "type": "number" } }, "required": [ "processes", "name", "begin_growth", "file_key", "add_residue", "path", "stir" ], "type": "object" }, "res_added": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/res_added", "type": "string" }, "residue": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/residue", "properties": { "file_key": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/residue/properties/file_key", "type": "string" }, "name": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/residue/properties/name", "type": "string" }, "path": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/residue/properties/path", "type": "string" } }, "required": [ "path", "name", "file_key" ], "type": "object" }, "row_direction": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/row_direction", "type": "string" }, "yield": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/yield", "type": "string" }, "yield_unit": { "id": "/properties/Management_templates/items/properties/man_data/items/properties/yield_unit", "type": "string" } }, "required": [ "residue", "res_added", "interval", "crop", "row_direction", "yield", "date", "yield_unit", "op" ], "type": "object" }, "minItems": 1, "type": "array" }, "name": { "id": "/properties/Management_templates/items/properties/name", "type": "string" }, "path": { "id": "/properties/Management_templates/items/properties/path", "type": "string" }, "preview": { "id": "/properties/Management_templates/items/properties/preview", "items": {}, "minItems": 0, "type": "array" } }, "required": [ "path", "man_data", "name", "preview" ], "type": "object" }, "minItems": 1, "type": "array" } }, "required": [ "Management_templates" ], "type": "object" } Sample rotation JSON{ "Management_templates": [ { "man_data": [ { "crop": { "default_yield": "1.50", "file_key": "2762038471819402861", "harvest_units": "tons", "name": "Alfalfa, spring seed", "path": "vegetations" }, "date": "/Date(1484118000000-0700)/", "interval": true, "op": { "add_residue": false, "begin_growth": true, "file_key": "2762038471819401734", "name": "Drill or airseeder, double disk", "path": "operations", "processes": [ { "name": "OP_PROCESS_FLATTEN_RES" }, { "__type": "LMODData.SurfaceAreaDisturbed:#IntegratedErosionToolkit", "name": "OP_PROCESS_DISTURB_SURF", "ridgeHeight": 1, "surfaceRoughness": 0.24, "tillageDepth": 1.5, "tillageType": "TILLAGE_TYPE_MIX_INV" }, { "name": "OP_PROCESS_BEGIN_GROWTH" } ], "stir": 6.34 }, "res_added": "", "residue": { "file_key": "", "name": "", "path": "" }, "row_direction": "0", "yield": "1", "yield_unit": "tons" }, { "crop": { "default_yield": "1.50", "file_key": "2762038471819402864", "harvest_units": "tons", "name": "Alfalfa, spring seed senes winter graze to y2 regrowth", "path": "vegetations" }, "date": "/Date(1484118000000-0700)/", "interval": true, "op": { "add_residue": false, "begin_growth": true, "file_key": "2762038471819401840", "name": "Harvest, hay, legume", "path": "operations", "processes": [ { "name": "OP_PROCESS_BIOMASS_REMOVAL" }, { "name": "OP_PROCESS_FLATTEN_RES" }, { "name": "OP_PROCESS_BEGIN_GROWTH" } ], "stir": 0 }, "res_added": "", "residue": { "file_key": "", "name": "", "path": "" }, "row_direction": "0", "yield": "1.50", "yield_unit": "tons" }, { "crop": { "default_yield": "2.50", "file_key": "2762038471819402870", "harvest_units": "tons", "name": "Alfalfa, yr3 senes to yr4 regrowth", "path": "vegetations" }, "date": "/Date(1484118000000-0700)/", "interval": false, "op": { "add_residue": false, "begin_growth": true, "file_key": "2762038471819401840", "name": "Harvest, hay, legume", "path": "operations", "processes": [ { "name": "OP_PROCESS_BIOMASS_REMOVAL" }, { "name": "OP_PROCESS_FLATTEN_RES" }, { "name": "OP_PROCESS_BEGIN_GROWTH" } ], "stir": 0 }, "res_added": "", "residue": { "file_key": "", "name": "", "path": "" }, "row_direction": "0", "yield": "1.5", "yield_unit": "tons" }, { "crop": { "default_yield": "1.75", "file_key": "2762038471819402872", "harvest_units": "tons", "name": "Alfalfa, yr4 regrowth after cutting", "path": "vegetations" }, "date": "/Date(1484118000000-0700)/", "interval": false, "op": { "add_residue": false, "begin_growth": true, "file_key": "2762038471819401840", "name": "Harvest, hay, legume", "path": "operations", "processes": [ { "name": "OP_PROCESS_BIOMASS_REMOVAL" }, { "name": "OP_PROCESS_FLATTEN_RES" }, { "name": "OP_PROCESS_BEGIN_GROWTH" } ], "stir": 0 }, "res_added": "", "residue": { "file_key": "", "name": "", "path": "" }, "row_direction": "0", "yield": "1.3", "yield_unit": "tons" }, { "crop": { "default_yield": "1.75", "file_key": "2762038471819402872", "harvest_units": "tons", "name": "Alfalfa, yr4 regrowth after cutting", "path": "vegetations" }, "date": "/Date(1484118000000-0700)/", "interval": false, "op": { "add_residue": false, "begin_growth": true, "file_key": "2762038471819401840", "name": "Harvest, hay, legume", "path": "operations", "processes": [ { "name": "OP_PROCESS_BIOMASS_REMOVAL" }, { "name": "OP_PROCESS_FLATTEN_RES" }, { "name": "OP_PROCESS_BEGIN_GROWTH" } ], "stir": 0 }, "res_added": "", "residue": { "file_key": "", "name": "", "path": "" }, "row_direction": "0", "yield": "1.1", "yield_unit": "tons" } ], "name": "default", "path": "Edited managements", "preview": [] } ] } |
CSIP Navigation Bar
News- Feb 2017: CSIP & Kubernetes...- Dec 2016: CSIP at AGU ... - more ...
Releases
- Released Packages
Help
- Report a bug New Users Olaf David |