All Downloads are FREE. Search and download functionalities are using the official Maven repository.

json.schema.tests.basic.json Maven / Gradle / Ivy

The newest version!
{
  "$id": "https://open-metadata.org/schema/tests/basic.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Basic",
  "description": "This schema defines basic types that are used by other test schemas.",
  "definitions": {
    "testCaseResult": {
      "description": "Schema to capture test case result.",
      "javaType": "org.openmetadata.catalog.tests.type.TestCaseResult",
      "type": "object",
      "properties": {
        "executionTime": {
          "description": "Data one which profile is taken.",
          "$ref": "../type/basic.json#/definitions/timestamp"
        },
        "testCaseStatus": {
          "description": "Status of Test Case run.",
          "javaType": "org.openmetadata.catalog.tests.type.TestCaseStatus",
          "type": "string",
          "enum": ["Success", "Failed", "Aborted"],
          "javaEnums": [
            {
              "name": "Success"
            },
            {
              "name": "Failed"
            },
            {
              "name": "Aborted"
            }
          ]
        },
        "result": {
          "description": "Details of test case results.",
          "type": "string"
        },
        "sampleData": {
          "description": "sample data to capture rows/columns that didn't match the expressed testcase.",
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "testCaseExecutionFrequency": {
      "description": "How often the test case should run.",
      "javaType": "org.openmetadata.catalog.tests.type.TestCaseExecutionFrequency",
      "type": "string",
      "enum": ["Hourly", "Daily", "Weekly"],
      "javaEnums": [
        {
          "name": "Hourly"
        },
        {
          "name": "Daily"
        },
        {
          "name": "Weekly"
        }
      ]
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy