json_schema: {
      "definitions": {
          "arraySingleStringUri": {
              "oneOf": [
                  {
                      "$ref": "#/definitions/stringUri"
                  },
                  {
                      "items": {
                          "$ref": "#/definitions/stringUri"
                      },
                      "maxItems": 1,
                      "minItems": 1,
                      "type": "array"
                  }
              ]
          },
          "idValueFound": {
              "$schema": "http://json-schema.org/draft-04/schema#",
              "properties": {
                  "id": {
                      "$ref": "#/definitions/arraySingleStringUri"
                  }
              },
              "required": [
                  "id"
              ],
              "type": "object"
          },
          "stringUri": {
              "$schema": "http://json-schema.org/draft-04/schema#",
              "format": "uri",
              "type": "string"
          }
      },
      "description": "Schemas in #/definitions used to detect valid id (string of format uri or array containing 1 item of string, format uri).",
      "title": "Definitions: id key",
      "properties": {
          "arraySingleStringUri": {
              "$ref": "#/definitions/arraySingleStringUri"
          },
          "idValueFound": {
              "$ref": "#/definitions/idValueFound"
          },
          "stringUri": {
              "$ref": "#/definitions/stringUri"
          }
      },
      "required": [
          "arraySingleStringUri",
          "idValueFound",
          "stringUri"
      ]
  }