{
  "revision" : {
    "version" : 2,
    "lastModifier" : "CN=localhost"
  },
  "id" : "55a660dc-018d-1000-04ee-e0a3aaf59a62",
  "uri" : "https://localhost:8443/nifi-api/controller-services/55a660dc-018d-1000-04ee-e0a3aaf59a62",
  "permissions" : {
    "canRead" : true,
    "canWrite" : true
  },
  "bulletins" : [ ],
  "parentGroupId" : "4669bcb3-018d-1000-3447-5be7de87ceb8",
  "component" : {
    "id" : "55a660dc-018d-1000-04ee-e0a3aaf59a62",
    "versionedComponentId" : "2e668a80-2010-372d-8b87-5574c068a8a6",
    "parentGroupId" : "4669bcb3-018d-1000-3447-5be7de87ceb8",
    "name" : "StandardJsonSchemaRegistry",
    "type" : "org.apache.nifi.schemaregistry.services.StandardJsonSchemaRegistry",
    "bundle" : {
      "group" : "org.apache.nifi",
      "artifact" : "nifi-registry-nar",
      "version" : "1.25.0"
    },
    "controllerServiceApis" : [ {
      "type" : "org.apache.nifi.schemaregistry.services.JsonSchemaRegistry",
      "bundle" : {
        "group" : "org.apache.nifi",
        "artifact" : "nifi-standard-services-api-nar",
        "version" : "1.25.0"
      }
    } ],
    "comments" : "",
    "state" : "DISABLED",
    "persistsState" : false,
    "restricted" : false,
    "deprecated" : false,
    "multipleVersionsAvailable" : false,
    "supportsSensitiveDynamicProperties" : false,
    "properties" : {
      "JSON Schema Version" : "DRAFT_4",
      "example-2019" : "{\n  \"$schema\": \"https://json-schema.org/draft/2019-09/schema#\",\n  \"$id\": \"http://my-paintings-api.com/schemas/painting-schema.json\",\n  \"type\": \"object\",\n  \"title\": \"Painting\",\n  \"description\": \"Painting information\",\n  \"additionalProperties\": true,\n  \"required\": [\"name\", \"artist\", \"dimension\", \"description\", \"tags\"],\n  \"properties\": {\n    \"name\": {\n      \"type\": \"string\",\n      \"description\": \"Painting name\"\n    },\n    \"artist\": {\n      \"type\": \"string\",\n      \"maxLength\": 50,\n      \"description\": \"Name of the artist\"\n    },\n    \"description\": {\n      \"type\": [\"string\", \"null\"],\n      \"description\": \"Painting description\"\n    },\n    \"dimension\": { \"$ref\": \"#/$defs/dimension\" },\n    \"tags\": {\n      \"type\": \"array\",\n      \"items\": { \"$ref\": \"#/$defs/tag\" }\n    }\n  },\n  \"$defs\": {\n    \"tag\": {\n      \"type\": \"string\",\n      \"enum\": [\"oil\", \"watercolor\", \"digital\", \"famous\"]\n    },\n    \"dimension\": {\n      \"type\": \"object\",\n      \"title\": \"Painting dimension\",\n      \"description\": \"Describes the dimension of a painting in cm\",\n      \"additionalProperties\": true,\n      \"required\": [\"width\",  \"height\"],\n      \"properties\": {\n        \"width\": { \"type\": \"number\", \"description\": \"Width of the product\", \"minimum\": 1 },\n        \"height\": { \"type\": \"number\", \"description\": \"Height of the product\", \"minimum\": 1 }\n      }\n    }\n  }\n}",
      "example-draft-4" : "{\n    \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n    \"title\": \"Product\",\n    \"description\": \"A product from the catalog\",\n    \"type\": \"object\",\n    \"properties\": {\n        \"id\": {\n            \"description\": \"The unique identifier for a product\",\n            \"type\": \"integer\"\n        },\n        \"name\": {\n            \"description\": \"Name of the product\",\n            \"type\": \"string\"\n        },\n        \"price\": {\n            \"type\": \"number\",\n            \"minimum\": 0,\n            \"exclusiveMinimum\": true\n        }\n    },\n    \"required\": [\"id\", \"name\", \"price\"]\n}",
      "example-draft-7" : "{\n    \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n    \"type\": \"object\",\n    \"properties\": {\n            \"FieldOne\": {\n                \"type\": \"string\",\n                \"pattern\":\"[a-z]*Value\"\n            },\n            \"FieldTwo\": {\n                \"type\": \"integer\"\n            },\n            \"FieldThree\": {\n                \"type\": \"array\",\n                \"items\": [\n                    {\n                        \"type\": \"object\",\n                        \"properties\": {\n                            \"arrayField\": {\n                                \"type\": \"string\"\n                            }\n                        },\n                        \"required\": [\n                            \"arrayField\"\n                        ]\n                    }\n                ]\n            }\n        },\n    \"required\": [\n        \"FieldOne\",\n        \"FieldTwo\",\n        \"FieldThree\"\n    ]\n}\n"
    },
    "descriptors" : {
      "JSON Schema Version" : {
        "name" : "JSON Schema Version",
        "displayName" : "JSON Schema Version",
        "description" : "The JSON schema specification",
        "defaultValue" : "DRAFT_2020_12",
        "allowableValues" : [ {
          "allowableValue" : {
            "displayName" : "Draft 4",
            "value" : "DRAFT_4",
            "description" : "Draft Version 4"
          },
          "canRead" : true
        }, {
          "allowableValue" : {
            "displayName" : "Draft 6",
            "value" : "DRAFT_6",
            "description" : "Draft Version 6"
          },
          "canRead" : true
        }, {
          "allowableValue" : {
            "displayName" : "Draft 7",
            "value" : "DRAFT_7",
            "description" : "Draft Version 7"
          },
          "canRead" : true
        }, {
          "allowableValue" : {
            "displayName" : "Draft 2019-09",
            "value" : "DRAFT_2019_09",
            "description" : "Draft Version 2019-09"
          },
          "canRead" : true
        }, {
          "allowableValue" : {
            "displayName" : "Draft 2020-12",
            "value" : "DRAFT_2020_12",
            "description" : "Draft Version 2020-12"
          },
          "canRead" : true
        } ],
        "required" : true,
        "sensitive" : false,
        "dynamic" : false,
        "supportsEl" : false,
        "expressionLanguageScope" : "Not Supported",
        "dependencies" : [ ]
      },
      "example-2019" : {
        "name" : "example-2019",
        "displayName" : "example-2019",
        "description" : "",
        "required" : false,
        "sensitive" : false,
        "dynamic" : true,
        "supportsEl" : false,
        "expressionLanguageScope" : "Not Supported",
        "dependencies" : [ ]
      },
      "example-draft-4" : {
        "name" : "example-draft-4",
        "displayName" : "example-draft-4",
        "description" : "",
        "required" : false,
        "sensitive" : false,
        "dynamic" : true,
        "supportsEl" : false,
        "expressionLanguageScope" : "Not Supported",
        "dependencies" : [ ]
      },
      "example-draft-7" : {
        "name" : "example-draft-7",
        "displayName" : "example-draft-7",
        "description" : "",
        "required" : false,
        "sensitive" : false,
        "dynamic" : true,
        "supportsEl" : false,
        "expressionLanguageScope" : "Not Supported",
        "dependencies" : [ ]
      }
    },
    "referencingComponents" : [ {
      "revision" : {
        "version" : 2,
        "lastModifier" : "CN=localhost"
      },
      "id" : "55a2b0c0-018d-1000-9d13-a87d05261e0b",
      "permissions" : {
        "canRead" : true,
        "canWrite" : true
      },
      "bulletins" : [ ],
      "component" : {
        "groupId" : "4669bcb3-018d-1000-3447-5be7de87ceb8",
        "id" : "55a2b0c0-018d-1000-9d13-a87d05261e0b",
        "name" : "ValidateJson",
        "type" : "ValidateJson",
        "state" : "STOPPED",
        "properties" : {
          "Schema Access Strategy" : "SCHEMA_NAME_PROPERTY",
          "Schema Name" : "${schema.name}",
          "JSON Schema Registry" : "55a660dc-018d-1000-04ee-e0a3aaf59a62",
          "JSON Schema" : null,
          "JSON Schema Version" : "DRAFT_2020_12"
        },
        "descriptors" : {
          "Schema Access Strategy" : {
            "name" : "Schema Access Strategy",
            "displayName" : "Schema Access Strategy",
            "description" : "Specifies how to obtain the schema that is to be used for interpreting the data.",
            "defaultValue" : "SCHEMA_CONTENT_PROPERTY",
            "allowableValues" : [ {
              "allowableValue" : {
                "displayName" : "Schema Name Property",
                "value" : "SCHEMA_NAME_PROPERTY",
                "description" : "The name of the Schema to use is specified by the 'Schema Name' Property. The value of this property is used to lookup the Schema in the configured JSON Schema Registry Service."
              },
              "canRead" : true
            }, {
              "allowableValue" : {
                "displayName" : "JSON Schema Property",
                "value" : "SCHEMA_CONTENT_PROPERTY",
                "description" : "A URL or file path to the JSON schema or the actual JSON schema is specified by the 'JSON Schema' Property. No matter how the JSON schema is specified, it must be a valid JSON schema"
              },
              "canRead" : true
            } ],
            "required" : true,
            "sensitive" : false,
            "dynamic" : false,
            "supportsEl" : false,
            "expressionLanguageScope" : "Not Supported",
            "dependencies" : [ ]
          },
          "Schema Name" : {
            "name" : "Schema Name",
            "displayName" : "Schema Name",
            "description" : "Specifies the name of the schema to lookup in the Schema Registry property",
            "defaultValue" : "${schema.name}",
            "required" : true,
            "sensitive" : false,
            "dynamic" : false,
            "supportsEl" : true,
            "expressionLanguageScope" : "Variable Registry and FlowFile Attributes",
            "dependencies" : [ {
              "propertyName" : "Schema Access Strategy",
              "dependentValues" : [ "SCHEMA_NAME_PROPERTY" ]
            } ]
          },
          "JSON Schema Registry" : {
            "name" : "JSON Schema Registry",
            "displayName" : "JSON Schema Registry",
            "description" : "Specifies the Controller Service to use for the JSON Schema Registry",
            "allowableValues" : [ {
              "allowableValue" : {
                "displayName" : "StandardJsonSchemaRegistry",
                "value" : "55a660dc-018d-1000-04ee-e0a3aaf59a62"
              },
              "canRead" : true
            } ],
            "required" : true,
            "sensitive" : false,
            "dynamic" : false,
            "supportsEl" : false,
            "expressionLanguageScope" : "Not Supported",
            "identifiesControllerService" : "org.apache.nifi.schemaregistry.services.JsonSchemaRegistry",
            "identifiesControllerServiceBundle" : {
              "group" : "org.apache.nifi",
              "artifact" : "nifi-standard-services-api-nar",
              "version" : "1.25.0"
            },
            "dependencies" : [ {
              "propertyName" : "Schema Access Strategy",
              "dependentValues" : [ "SCHEMA_NAME_PROPERTY" ]
            } ]
          },
          "JSON Schema" : {
            "name" : "JSON Schema",
            "displayName" : "JSON Schema",
            "description" : "A URL or file path to the JSON schema or the actual JSON schema content",
            "required" : true,
            "sensitive" : false,
            "dynamic" : false,
            "supportsEl" : false,
            "expressionLanguageScope" : "Not Supported",
            "dependencies" : [ {
              "propertyName" : "Schema Access Strategy",
              "dependentValues" : [ "SCHEMA_CONTENT_PROPERTY" ]
            } ]
          },
          "JSON Schema Version" : {
            "name" : "JSON Schema Version",
            "displayName" : "JSON Schema Version",
            "description" : "The JSON schema specification",
            "defaultValue" : "DRAFT_2020_12",
            "allowableValues" : [ {
              "allowableValue" : {
                "displayName" : "Draft 4",
                "value" : "DRAFT_4",
                "description" : "Draft Version 4"
              },
              "canRead" : true
            }, {
              "allowableValue" : {
                "displayName" : "Draft 6",
                "value" : "DRAFT_6",
                "description" : "Draft Version 6"
              },
              "canRead" : true
            }, {
              "allowableValue" : {
                "displayName" : "Draft 7",
                "value" : "DRAFT_7",
                "description" : "Draft Version 7"
              },
              "canRead" : true
            }, {
              "allowableValue" : {
                "displayName" : "Draft 2019-09",
                "value" : "DRAFT_2019_09",
                "description" : "Draft Version 2019-09"
              },
              "canRead" : true
            }, {
              "allowableValue" : {
                "displayName" : "Draft 2020-12",
                "value" : "DRAFT_2020_12",
                "description" : "Draft Version 2020-12"
              },
              "canRead" : true
            } ],
            "required" : true,
            "sensitive" : false,
            "dynamic" : false,
            "supportsEl" : false,
            "expressionLanguageScope" : "Not Supported",
            "dependencies" : [ {
              "propertyName" : "Schema Access Strategy",
              "dependentValues" : [ "SCHEMA_CONTENT_PROPERTY" ]
            } ]
          }
        },
        "validationErrors" : [ "'JSON Schema Registry' validated against '55a660dc-018d-1000-04ee-e0a3aaf59a62' is invalid because Controller Service with ID 55a660dc-018d-1000-04ee-e0a3aaf59a62 is disabled" ],
        "referenceType" : "Processor",
        "activeThreadCount" : 0
      },
      "operatePermissions" : {
        "canRead" : true,
        "canWrite" : true
      }
    } ],
    "validationStatus" : "VALIDATING",
    "bulletinLevel" : "WARN",
    "extensionMissing" : false
  },
  "operatePermissions" : {
    "canRead" : true,
    "canWrite" : true
  },
  "status" : {
    "runStatus" : "DISABLED",
    "validationStatus" : "VALIDATING"
  }
}

