{ "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "id": { "type": "string", "description": "A unique identifier for the customer account" }, "type": { "type": "string", "description": "The json_api type for any customer account", "pattern": "^customer_accounts$" }, "attributes": { "type": "object", "properties": { "meta_attributes": { "type": "object", "description": "Description for meta_attributes" }, "email": { "type": "string", "description": "Description for email" }, "reference": { "type": "string", "description": "Description for reference" } } }, "relationships": { "type": "object", "properties": { "addresses": { "type": "object", "properties": { "links": { "type": "object", "properties": { "self": { "type": "string" }, "related": { "type": "string" } }, "additionalProperties": false }, "data": { "oneOf": [ { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false }, { "type": "array", "items": { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false } } ] }, "meta": { "type": "object", "additionalProperties": true } } }, "orders": { "type": "object", "properties": { "links": { "type": "object", "properties": { "self": { "type": "string" }, "related": { "type": "string" } }, "additionalProperties": false }, "data": { "oneOf": [ { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false }, { "type": "array", "items": { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false } } ] }, "meta": { "type": "object", "additionalProperties": true } } }, "cart": { "type": "object", "properties": { "links": { "type": "object", "properties": { "self": { "type": "string" }, "related": { "type": "string" } }, "additionalProperties": false }, "data": { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false }, "meta": { "type": "object", "additionalProperties": true } } }, "customer_segments": { "type": "object", "properties": { "links": { "type": "object", "properties": { "self": { "type": "string" }, "related": { "type": "string" } }, "additionalProperties": false }, "data": { "type": "array", "items": { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false } }, "meta": { "type": "object", "additionalProperties": true } } }, "notes": { "type": "object", "properties": { "links": { "type": "object", "properties": { "self": { "type": "string" }, "related": { "type": "string" } }, "additionalProperties": false }, "data": { "oneOf": [ { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false }, { "type": "array", "items": { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false } } ] }, "meta": { "type": "object", "additionalProperties": true } } }, "password_recovery": { "type": "object", "properties": { "links": { "type": "object", "properties": { "self": { "type": "string" }, "related": { "type": "string" } }, "additionalProperties": false }, "data": { "oneOf": [ { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false }, { "type": "array", "items": { "type": "object", "description": "The id and type form a pointer into the 'included' top level document property", "properties": { "id": { "type": "string" }, "type": { "type": "string" } }, "additionalProperties": false } } ] }, "meta": { "type": "object", "additionalProperties": true } } } } }, "links": { "type": "object", "properties": { "self": { "type": "string" } }, "additionalProperties": false }, "meta": { "type": "object", "additionalProperties": false } }, "definitions": { } }