Attributes
- Version: 1.0
- Id: ID related to Error
- InvalidFields: Set of submitted invalid fields along with associated error messages (Optional)
- Memberships: Set of memberships preventing operation from completing (Optional)
JSON
{"ResponseType":"ErrorResponse", "Version":"1.0", "Id":"<ID>", "InvalidFields":{"<field>":["<reason>",...],...} "Memberships":["<id>":"<name>",...} }
XML
<!ELEMENT ErrorResponse (InvalidFields?,Memberships?)> <!ATTLIST ErrorResponse Version CDATA #FIXED "1.0"> <!ATTLIST ErrorResponse Id ID> <!ELEMENT InvalidFields (InvalidField+)> <!ELEMENT InvalidField (Error+)> <!ATTLIST InvalidField Field CDATA #REQUIRED> <!ELEMENT Error (#PCDATA)> <!ELEMENT Memberships (Membership+)> <!ELEMENT Membership (Name?)> <!ATTLIST Membership Id ID #REQUIRED> <!ELEMENT Name (#PCDATA)>