Sha256: 43c1c6ddcdc737b6e3e8cc5459d3567ed87b479aafa30cef2bca83e73df60f1f

Contents?: true

Size: 1.14 KB

Versions: 18

Compression:

Stored size: 1.14 KB

Contents

{
  "$schema"     : "http://json-schema.org/draft-04/schema#",
  "type"        : "object",
  "title"       : "error",
  "description" : "A standard error object",
  "required"    : ["message", "code", "errors"],
  "properties"  : {
    "message" : {
      "description" : "a human readable representation of the error",
      "type"        : "string",
      "readOnly"    : true
    },
    "code" : {
      "description" : "a numeric code identifying the error",
      "type"        : "integer",
      "readOnly"    : true
    },
    "errors" : {
      "description" : "error details, if applicable",
      "type"        : "array",
      "items"       : {
        "type"       : "object",
        "required"   : ["field", "message"],
        "properties" : {
          "field" : {
            "description" : "identifies the field that caused this error",
            "type"        : "string",
            "readOnly"    : true
          },
          "message" : {
            "description" : "provide more information about the cause of this error",
            "type"        : "string",
            "readOnly"    : true
          }
        }
      }
    }
  }
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
fidor_schema-0.10.16 schema/v1.0/error.json
fidor_schema-0.10.15 schema/v1.0/error.json
fidor_schema-0.10.14 schema/v1.0/error.json
fidor_schema-0.10.12 schema/v1.0/error.json
fidor_schema-0.10.11 schema/v1.0/error.json
fidor_schema-0.10.10 schema/v1.0/error.json
fidor_schema-0.10.9 schema/v1.0/error.json
fidor_schema-0.10.8 schema/v1.0/error.json
fidor_schema-0.10.7 schema/v1.0/error.json
fidor_schema-0.10.6 schema/v1.0/error.json
fidor_schema-0.10.5 schema/v1.0/error.json
fidor_schema-0.10.4 schema/v1.0/error.json
fidor_schema-0.10.2 schema/v1.0/error.json
fidor_schema-0.10.1 schema/v1.0/error.json
fidor_schema-0.10.0 schema/v1.0/error.json
fidor_schema-0.8.0 schema/v1.0/error.json
fidor_schema-0.7.0 schema/v1.0/error.json
fidor_schema-0.6.0 schema/v1.0/error.json