Sha256: 7bf90ba6e6f31fe830e37ae4d3c533238dec6c579173810832b58a072646151f
Contents?: true
Size: 1.65 KB
Versions: 8
Compression:
Stored size: 1.65 KB
Contents
{ "$schema": "http://json-schema.org/draft-03/schema#", "id": "http://popoloproject.com/schemas/contact_detail.json#", "title": "Contact detail", "description": "A means of contacting an entity", "type": "object", "properties": { "label": { "description": "A human-readable label for the contact detail", "type": ["string", "null"] }, "type": { "description": "A type of medium, e.g. 'fax' or 'email'", "type": "string", "required": true }, "value": { "description": "A value, e.g. a phone number or email address", "type": "string", "required": true }, "note": { "description": "A note, e.g. for grouping contact details by physical location", "type": ["string", "null"] }, "valid_from": { "description": "The date from which the contact detail is valid", "type": ["string", "null"], "pattern": "^[0-9]{4}(-[0-9]{2}){0,2}$" }, "valid_through": { "description": "The date from which the contact detail is no longer valid", "type": ["string", "null"], "pattern": "^[0-9]{4}(-[0-9]{2}){0,2}$" }, "created_at": { "description": "The time at which the resource was created", "type": ["string", "null"], "format": "date-time" }, "updated_at": { "description": "The time at which the resource was last modified", "type": ["string", "null"], "format": "date-time" }, "sources": { "description": "URLs to documents from which the contact detail is derived", "type": "array", "items": { "$ref": "http://popoloproject.com/schemas/link.json#" } } } }
Version data entries
8 entries across 8 versions & 1 rubygems