Sha256: 05d4f70544270734bb8995b01e65e79fad3ece72fc08b48450946c98cc3adc61

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

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

  "type": "object",

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hexx-1.1.1 lib/generators/install/templates/json_schemas/success.erb
hexx-1.1.0 lib/generators/install/templates/json_schemas/success.erb