{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://truleaf.org/fields/data-formats/1.0.0/org.schema.json","title":"Workspace (org/org.json)","description":"The exported workspace, keys in camelCase. No ids of other workspaces and no custody contact data.","type":"object","additionalProperties":false,"required":["name","kind","country","regionCode","locale","timezone","currency","areaUnit","custodyState","createdAt"],"properties":{"name":{"type":"string","minLength":1,"maxLength":120},"kind":{"type":"string","enum":["farm","advisory","coop","research_lab","rnd_team"],"description":"The kind of workspace."},"country":{"type":"string","pattern":"^[A-Z]{2}$"},"regionCode":{"type":["string","null"],"pattern":"^[A-Z]{2}-[A-Z0-9]{1,3}$"},"locale":{"type":"string","enum":["en-US","es-ES","fr-FR","nl-NL","pt-BR","pt-PT","uk-UA"]},"timezone":{"type":"string","minLength":1,"description":"IANA time zone."},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"areaUnit":{"type":"string","enum":["ha","ac"],"description":"The area unit the workspace displays."},"custodyState":{"type":"string","enum":["none","custodial","claimed"]},"createdAt":{"type":"string","format":"date-time"}}}