when-am-i / files / src / data / calendars / SCHEMA.json
SCHEMA.json
| 1 | { |
| 2 | "region": { |
| 3 | "name": "string (required)", |
| 4 | "geo": { |
| 5 | "type": "Polygon|MultiPolygon|Point|...", |
| 6 | "coordinates": "GeoJSON coordinates array" |
| 7 | } |
| 8 | }, |
| 9 | "eras": [ |
| 10 | { |
| 11 | "name": "string (required)", |
| 12 | "start": "YYYY-MM-DD|null (start date, null for earliest)", |
| 13 | "end": "YYYY-MM-DD|null (end date, null for present)", |
| 14 | "calendar": "string (calendar system name)", |
| 15 | "usedBy": "string (optional — whose calendar this is, e.g. 'English colonists')", |
| 16 | "description": "string (optional)", |
| 17 | "sources": [ |
| 18 | "string (URL or citation)" |
| 19 | ] |
| 20 | } |
| 21 | ] |
| 22 | } |