Sha256: 6a9f83f0da939a68c126b05061faa0f18f2e579fafe0d39490f1688d96318542

Contents?: true

Size: 307 Bytes

Versions: 7

Compression:

Stored size: 307 Bytes

Contents

// JSON schema for an error message
{
  "$schema": "http://json-schema.org/draft-04/schema#",

  "type": "object",

  "properties": {
    "type": { "type": "string", "enum": ["error"] },
    "text": { "type": "string", "minLength": 1 }
  },

  "additionalProperties": false,
  "required": ["type", "text"]
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
hexx-1.1.1 lib/generators/install/templates/json_schemas/error.erb
okei-1.0.2 spec/examples/json_schemas/error.json
hexx-1.1.0 lib/generators/install/templates/json_schemas/error.erb
okei-1.0.1 spec/examples/json_schemas/error.json
okei-1.0.0 spec/examples/json_schemas/error.json
okei-1.0.0.pre.rc spec/examples/json_schemas/error.json
okei-0.0.2 spec/examples/json_schemas/error.json