Raw schema
{
"type": "object",
"properties": {
"community_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"space_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"location_name": {
"anyOf": [
{
"type": "string",
"maxLength": 60
},
{
"type": "null"
}
]
},
"floor": {
"anyOf": [
{
"type": "string",
"maxLength": 40
},
{
"type": "null"
}
]
},
"capacity": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100000
},
{
"type": "null"
}
]
},
"photos": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"maxLength": 2048
}
},
"rules": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"hours": {
"anyOf": [
{
"type": "object",
"properties": {
"mon": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
},
"tue": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
},
"wed": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
},
"thu": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
},
"fri": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
},
"sat": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
},
"sun": {
"anyOf": [
{
"type": "null"
},
{
"minItems": 0,
"maxItems": 6,
"type": "array",
"items": {
"type": "object",
"properties": {
"start": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
},
"end": {
"type": "string",
"pattern": "^(([01]\\d|2[0-3]):[0-5]\\d|24:00)$"
}
},
"required": [
"start",
"end"
],
"additionalProperties": false
}
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"address": {
"anyOf": [
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"address": {
"type": "string",
"minLength": 1,
"maxLength": 300
},
"latitude": {
"type": "number",
"minimum": -90,
"maximum": 90
},
"longitude": {
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"required": [
"name",
"address",
"latitude",
"longitude"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"max_booking_hours": {
"type": "integer",
"minimum": 1,
"maximum": 168
},
"timezone": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"community_id",
"space_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}