Sha256: 10d34c41bd3f78d3e354c624c54b2366b9ee663830fe15622b0a17d00e24191b

Contents?: true

Size: 920 Bytes

Versions: 1

Compression:

Stored size: 920 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "JSON API Schema",
  "description": "This is a schema for responses in the JSON API format. For more, see http://jsonapi.org",
  "type": "object",
  "patternProperties": {
    "^(?!href$)(?!links$)(?!id$)(?!meta)(?!linked)": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "links": {
            "type": "object"
          }
        },
        "required": ["id"]
      }
    }
  },
  "properties": {
    "meta": {
      "type": "object"
    },
    "linked": {
      "type": "object",
      "patternProperties": {
        ".*": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "links": {
                "type": "object"
              }
            },
            "required": ["id"]
          }
        }
      }
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json-api-0.1.1 lib/json/api/schema.json