Reference Schemas Organization

Schema

Organization

object
A Hyperstatic Organization

Properties

id
OrganizationId Required
type
string Required
name
string Required
localization
object Required
meta
object Required

JSON Schema

{ "description": "A Hyperstatic Organization", "type": "object", "required": [ "id", "type", "name", "localization", "meta" ], "properties": { "id": { "$ref": "#/components/schemas/OrganizationId" }, "type": { "type": "string", "const": "Organization" }, "name": { "type": "string" }, "localization": { "type": "object", "required": [ "country", "currency", "locale", "timezone" ], "properties": { "country": { "type": "string", "description": "ISO 3166-1 alpha-2 country code", "pattern": "^[A-Z]{2}$" }, "currency": { "$ref": "#/components/schemas/CurrencyCode" }, "locale": { "type": "string", "description": "BCP 47 language tag", "examples": [ "en-US" ] }, "timezone": { "type": "string", "description": "IANA time zone", "examples": [ "America/New_York" ] } } }, "meta": { "type": "object", "required": [ "createdBy", "createdAt", "updatedBy", "updatedAt" ], "properties": { "createdBy": { "$ref": "#/components/schemas/ActorId" }, "createdAt": { "$ref": "#/components/schemas/Timestamp" }, "updatedBy": { "$ref": "#/components/schemas/ActorId" }, "updatedAt": { "$ref": "#/components/schemas/Timestamp" } } } } }