JSON schema

Our platform operates on structured data. We choose JSON schema as tool to make sure data is standard format.

JSON Schema

At this point we only support of list of structured data. In other words: list of stuff of certain format. Learn more about JSON schema open format.

Example of JSON schema

Internally we save definition for each data challenge as JSON schema. As contributor, you can open text editor and inspect details. At the moment, mainly to avoid breaking changes, editing of schema is restricted to platform moderators only.

Example: schema of list of apartments with pricing and meta information (area of apartment, floor, rooms, etc). The schema for this data could look like this:

{
 "$schema": "http://json-schema.org/schema#",
 "type": "array",
 "items": {
   "type": "object",
   "properties": {
     "id": {
       "type": "string"
     },
     "www": {
       "type": "string"
     },
     "area": {
       "type": "number"
     },
     "rooms": {
       "type": "integer"
     },
     "floor": {
       "type": "integer"
     },
     "price": {
       "type": "number"
     },
     "status": {
       "type": "integer"
     }
   },
   "required": [
     "area",
     "floor",
     "id",
     "rooms",
     "status"
   ]
 }
}

Leave a Reply

Your email address will not be published. Required fields are marked *