westfieldlabs/apivore

View on GitHub
data/custom_schemata/westfield_api_standards.json

Summary

Maintainability
Test Coverage
{
  "title": "Westfield API Standards",

  "type": "object",
  "properties": {
    "definitions": {
      "description": "All entities defined in the 'definitions' section must include an explicit 'type: object' attribute. This forces the entity to be validated.",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/definitions/schemaObject"
      }
    }
  },
  "definitions": {
    "schemaObject": {
      "type": "object",
      "required": [ "type" ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [ "object" ]
        }
      }
    }
  }
}