Sha256: e02f8da7f6412bdc585d99b5054e7ff730819d3906fa73a6fe339dd681db0a56

Contents?: true

Size: 1.9 KB

Versions: 11

Compression:

Stored size: 1.9 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "oneOf": [
    {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2
    },
    {
      "name": "sanction",
      "description": "A sanction issued by a government or regulatory body to an entity to prevent it operating (e.g. disqualified director) or ban others from dealing with it (e.g. a OFAC sanctioned entity).",
      "type": "object",
      "properties": {
        "sanction_type": {
          "enum": [
            "disqualification",
            "sanctions_listing",
            "debarment"
          ],
          "description": "types of sanction - one of 'disqualification', 'sanctions_list', 'debarment'"
        },
        "restrictions": {
          "type": "array",
          "description": "conditions or restrictions on the sanctions",
          "items": {
            "type": "string"
          }
        },
        "cause": {
          "type": "array",
          "description": "reasons for the sanction being applied",
          "items": {
            "type": "string"
          }
        },
        "legal_basis": {
          "type": ["array","null"],
          "items": {
            "$ref": "legislation.json"
          }
        },
        "sanction_jurisdictions": {
          "description": "list of jurisdictions that this sanction applies to",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "sanction_issuer": {
          "oneOf": [
            {
              "type": [
                "string",
                "null"
              ],
              "minLength": 2
            },
            {
              "$ref": "organisation.json"
            }
          ]
        },
        "notes": {
          "type": "string"
        },
        "other_attributes": {
          "type": "object"
        }
      },
      "required": [
        "sanction_type"
      ]
    }
  ]
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
turbot-runner-0.2.31 schema/schemas/includes/sanction.json
turbot-runner-0.2.30 schema/schemas/includes/sanction.json
turbot-runner-0.2.29 schema/schemas/includes/sanction.json
turbot-runner-0.2.28 schema/schemas/includes/sanction.json
turbot-runner-0.2.27 schema/schemas/includes/sanction.json
turbot-runner-0.2.26 schema/schemas/includes/sanction.json
turbot-runner-0.2.25 schema/schemas/includes/sanction.json
turbot-runner-0.2.24 schema/schemas/includes/sanction.json
turbot-runner-0.2.23 schema/schemas/includes/sanction.json
turbot-runner-0.2.22 schema/schemas/includes/sanction.json
turbot-runner-0.2.21 schema/schemas/includes/sanction.json