en: fun_with_json_api: exceptions: invalid_document: 'Request json_api document is invalid' invalid_document_identifier: 'Request json_api data id is invalid' invalid_client_generated_identifier: 'Request json_api data id has already been used for an existing resource' illegal_client_generated_identifier: 'Request json_api attempted to set an unsupported client-generated id' invalid_document_type: 'Request json_api data type does not match endpoint' missing_resource: 'Unable to find the requested resource' invalid_attribute: 'Request json_api attribute data is invalid' unknown_attribute: 'Request json_api attribute is unsupported by the current endpoint' invalid_relationship: 'Request json_api relationship data is invalid' missing_relationship: 'Unable to find the requested relationship' unknown_relationship: 'Request json_api relationship is unsupported by the current endpoint' invalid_relationship_type: 'Request json_api relationship type does not match expected resource' invalid_boolean_attribute: "Boolean value should only be true, false, or null" invalid_date_attribute: "Date value should be in the format YYYY-MM-DD" invalid_datetime_attribute: "Datetime value should be a ISO 8601 datetime" invalid_decimal_attribute: "Decimal value must be a decimal number (i.e. 123.45)" invalid_float_attribute: "Float value must be a floating point number (i.e. 123.45)" invalid_integer_attribute: "Integer value must be a integer number (i.e. 123)" invalid_string_attribute: 'String value must be a JSON String (i.e. "Example")' invalid_uuid_v4_attribute: 'UUID value must be RFC 4122 Version 4 UUID (i.e. "f47ac10b-58cc-4372-a567-0e02b2c3d479")' schema_validators: document_id_does_not_match_resource: "Expected data id to match resource at endpoint: %{expected}" document_type_does_not_match_endpoint: "Expected data type to be a '%{expected}' resource" invalid_relationship_type_in_array: "Expected '%{relationship}' relationship to be an Array of '%{relationship_type}' resource identifiers" invalid_relationship_type_in_hash: "Expected '%{relationship}' relationship to be null or a '%{relationship_type}' resource identifier Hash" resource_id_can_not_be_client_generated: "The current endpoint does not allow you to set an id for a new '%{resource}' resource" resource_id_has_already_been_assigned: "The provided id for a new '%{resource}' resource has already been used by another resource: %{id}" unknown_attribute_for_resource: "The provided attribute '%{attribute}' can not be assigned to a '%{resource}' resource from the current endpoint" unknown_relationship_for_resource: "The provided relationship '%{relationship}' can not be assigned to a '%{resource}' resource from the current endpoint" find_resource_from_document: invalid_document: "Expected data to be a Hash or null" invalid_document_type: "Expected data type to be a '%{resource}' resource" missing_resource: "Unable to find '%{resource}' with matching id: '%{resource_id}'" find_collection_from_document: invalid_document: "Expected data to be a Array of '%{resource}' resources" invalid_document_type: "Expected '%{type}' to be a '%{resource}' resource" missing_resource: "Unable to find '%{resource}' with matching id: '%{resource_id}'"