{"$schema": "http://json-schema.org/schema#", "title": "Trusted Introducer Team Data Schema", "id": "teams.json", "definitions": {"country": {"type": "object", "properties": {"code": {"type": "string"}, "name": {"type": "string"}}, "required": ["code", "name"]}, "email": {"type": "object", "properties": {"address": {"type": "string", "format": "email"}, "usage": {"type": "array", "items": {"type": "string", "enum": ["contact", "automated"]}}}, "required": ["address"]}, "pgp_key": {"type": "object", "properties": {"fingerprint": {"type": "string"}, "expires": {"type": "string", "format": "date-time"}, "data": {"type": "string"}}, "required": ["fingerprint"]}, "x509_cert": {"type": "object", "properties": {"fingerprint": {"type": "string"}, "valid_from": {"type": "string", "format": "date-time"}, "valid_until": {"type": "string", "format": "date-time"}, "data": {"type": "string"}}, "required": ["fingerprint"]}, "phone": {"type": "object", "properties": {"usage": {"type": "array", "items": {"type": "string", "enum": ["voice", "emergency", "fax", "sms"]}}, "number": {"type": "string"}, "timezone": {"type": "string"}, "details": {"type": "string"}}, "required": ["number", "usage"]}}, "type": "array", "items": {"type": "object", "properties": {"uuid": {"type": "string", "format": "uuid"}, "official_name": {"type": "string"}, "short_name": {"type": "string"}, "country": {"$ref": "#/definitions/country"}, "established": {"type": "string", "format": "date"}, "host_organisation": {"type": "string"}, "classification": {"type": "object", "properties": {"code": {"type": "string"}, "name": {"type": "string"}, "since": {"type": "string", "format": "date"}, "first_entered": {"type": "string", "format": "date"}, "last_changed": {"type": "string", "format": "date"}}}, "postal_address": {"type": "string"}, "constituency": {"type": "object", "properties": {"types": {"type": "array", "items": {"type": "string"}}, "asns": {"type": "array", "items": {"type": "integer"}}, "domains": {"type": "array", "items": {"type": "string"}}, "ipranges": {"type": "array", "items": {"type": "string", "format": "cidr"}}, "countries": {"type": "array", "items": {"$ref": "#/definitions/country"}}}}, "misp": {"type": "object", "properties": {"org_uuid": {"type": "string", "format": "uuid"}, "org_name": {"type": "string"}, "org_email": {"type": "string", "format": "email"}}}, "business_hours": {"type": "string"}, "business_hours_timezone": {"type": "string"}, "outside_business_hours": {"type": "string"}, "emails": {"type": "array", "items": {"$ref": "#/definitions/email"}}, "pgp_keys": {"type": "array", "items": {"$ref": "#/definitions/pgp_key"}}, "phones": {"type": "array", "items": {"$ref": "#/definitions/phone"}}, "public_info": {"type": "object", "properties": {"www": {"type": "string"}, "ftp": {"type": "string"}, "mailinglist": {"type": "string"}, "usenet": {"type": "string"}, "rtc2350": {"type": "string"}}}, "former_team_names": {"type": "array", "items": {"type": "string"}}, "memberships": {"type": "array", "items": {"type": "object", "properties": {"organisation": {"type": "string"}, "state": {"type": "string"}, "since": {"type": "string", "format": "date"}}}}, "persons": {"type": "array", "items": {"type": "object", "properties": {"uuid": {"type": "string", "format": "uuid"}, "name": {"type": "string"}, "emails": {"type": "array", "items": {"$ref": "#/definitions/email"}}, "pgp_keys": {"type": "array", "items": {"$ref": "#/definitions/pgp_key"}}, "phones": {"type": "array", "items": {"$ref": "#/definitions/phone"}}, "roles": {"type": "array", "items": {"type": "string", "enum": ["team_rep", "team_member", "const_rep", "host_rep"]}}}}}}, "required": ["short_name", "official_name", "country"]}}