{
  "format": "csv",
  "definitions": {},
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://example.com/root.json",
  "type": "object",
  "title": "Gras samis_bobwa_digital Schema",
  "required": [
    "prod_no",
    "bobwa_country_key",
    "digital_date_first_sale",
    "mod_stamp",
    "mod_flag"
  ],
  "properties": {
    "prod_no": {
      "$id": "#/properties/prod_no",
      "type": "string",
      "title": "prod_no",
      "default": "",
      "examples": [
        "B961"
      ],
      "pattern": "^[A-Z0-9]*$"
    },
    "bobwa_country_key": {
      "$id": "#/properties/bobwa_country_key",
      "type": "string",
      "title": "bobwa_country_key",
      "default": "",
      "examples": [
        "I",
        "NO",
        "GB"
      ],
      "pattern": "^[A-Z0-9]*$"
    },
    "digital_date_first_sale": {
      "oneOf": [
        {
          "type": "null"
        },
        {
          "$id": "#/properties/digital_date_first_sale",
          "type": "string",
          "title": "digital_date_first_sale",
          "default": "",
          "examples": [
            "20190101"
          ],
          "pattern": "^[0-9]{8}$"
        }
      ]
    },
    "mod_stamp": {
      "$id": "#/properties/mod_stamp",
      "type": "string",
      "title": "mod_stamp",
      "default": "",
      "examples": [
        "1995-12-12 10:08:34.227",
        "1995-12-12 10:08:34.227"
      ],
      "pattern": "\\d{4}-\\d{2}-\\d{2}\\s\\d{2}:\\d{2}:\\d{2}\\.\\d+"
    },
    "mod_flag": {
      "$id": "#/properties/mod_flag",
      "type": "string",
      "title": "mod_flag",
      "default": "",
      "examples": [
        "I",
        "U",
        "D"
      ],
      "pattern": "^I|U|D$"
    }
  }
}