Raw schema
{
"type": "object",
"properties": {
"business_name": {
"type": "string",
"minLength": 1,
"maxLength": 160,
"description": "The business's name, as its owner writes it."
},
"contact_name": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Who we should talk to about the application."
},
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Where we write back about the application."
},
"phone": {
"type": "string",
"maxLength": 40,
"pattern": "^\\+?\\(?[0-9][0-9\\s().+-]{5,39}$",
"description": "A number to reach the contact, as they write it."
},
"website": {
"description": "The business's website, if it has one.",
"type": "string",
"maxLength": 2000,
"format": "uri"
},
"category": {
"type": "string",
"enum": [
"insurance",
"mobile_internet",
"taxes_accounting",
"money_transfer",
"auto",
"home",
"health",
"education",
"other"
],
"description": "The closest kind of service. Use `other` when nothing fits."
},
"states": {
"minItems": 1,
"maxItems": 51,
"type": "array",
"items": {
"type": "string"
},
"description": "Two-letter codes of the US states where the business offers the service."
},
"description": {
"type": "string",
"minLength": 10,
"maxLength": 2000,
"description": "What the business offers, to whom, and in which languages β in its own words."
},
"consent": {
"type": "boolean",
"const": true,
"description": "The person has said, in their own words, that Multiservicios may contact them about this application. Ask them; never assume it."
},
"locale": {
"type": "string",
"enum": [
"es",
"en"
],
"description": "The language the person is writing in. The reply comes back in it."
}
},
"required": [
"business_name",
"contact_name",
"email",
"phone",
"category",
"states",
"description",
"consent",
"locale"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}