Sha256: e538a79ebec429266ad16dca0c58a715e1d9e11ef7b16d66ba42dd92850c48ad

Contents?: true

Size: 1.27 KB

Versions: 5

Compression:

Stored size: 1.27 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "data_type": {
      "enum": [
        "supplier-relationship"
      ]
    },
    "customer": {
      "$ref": "includes/entity.json"
    },
    "supplier": {
      "$ref": "includes/entity.json"
    },
    "start_date": {
      "type": "string",
      "format": "date"
    },
    "start_date_type": {
      "enum": [
        "at",
        "before",
        "after"
      ]
    },
    "end_date": {
      "type": "string",
      "format": "date"
    },
    "end_date_type": {
      "enum": [
        "at",
        "before",
        "after"
      ]
    },
    "sample_date": {
      "type": "string",
      "format": "date"
    },
    "retrieved_at": {
      "type": "string",
      "format": "date"
    },
    "source_url": {
      "type": "string"
    },
    "confidence": {
      "enum": [
        "HIGH",
        "MEDIUM",
        "LOW"
      ]
    }
  },
  "additionalProperties": false,
  "required": [
    "data_type",
    "supplier",
    "customer",
    "retrieved_at",
    "confidence"
  ],
  "anyOf": [
    {
      "required": [
        "start_date"
      ]
    },
    {
      "required": [
        "sample_date"
      ]
    },
    {
      "required": [
        "end_date"
      ]
    }
  ]
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
turbot-runner-0.2.37 schema/schemas/supplier-relationship-schema.json
turbot-runner-0.2.36 schema/schemas/supplier-relationship-schema.json
turbot-runner-0.2.35 schema/schemas/supplier-relationship-schema.json
turbot-runner-0.2.34 schema/schemas/supplier-relationship-schema.json
turbot-runner-0.2.33 schema/schemas/supplier-relationship-schema.json