{
"id": "app.gainforest.organization.info",
"defs": {
"main": {
"key": "literal:self",
"type": "record",
"record": {
"type": "object",
"required": [
"displayName",
"shortDescription",
"longDescription",
"objectives",
"country",
"visibility",
"createdAt"
],
"properties": {
"logo": {
"ref": "app.gainforest.common.defs#smallImage",
"type": "ref",
"description": "Logo for the organization"
},
"country": {
"type": "string",
"description": "The country of the organization or project in two letter code (ISO 3166-1 alpha-2)"
},
"website": {
"type": "string",
"format": "uri",
"description": "The website of the organization or project"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "The date and time of the creation of the record"
},
"startDate": {
"type": "string",
"format": "datetime",
"description": "The start date of the organization or project"
},
"coverImage": {
"ref": "app.gainforest.common.defs#smallImage",
"type": "ref",
"description": "Cover image for the organization"
},
"objectives": {
"type": "array",
"items": {
"enum": [
"Conservation",
"Research",
"Education",
"Community",
"Other"
],
"type": "string"
},
"description": "The objectives of the organization or project"
},
"visibility": {
"enum": [
"Public",
"Hidden"
],
"type": "string",
"description": "The visibility of the organization or project in the Green Globe"
},
"displayName": {
"type": "string",
"maxLength": 255,
"minLength": 8,
"description": "The name of the organization or project"
},
"longDescription": {
"type": "string",
"maxLength": 5000,
"minLength": 50,
"description": "The long description of the organization or project in richtext"
},
"shortDescription": {
"type": "string",
"maxLength": 2000,
"minLength": 50,
"description": "The description of the organization or project"
}
}
},
"description": "A declaration of an organization or project"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}