Sha256: 8f0373f47b81e55deb8737af8d5e608a6f8a778c75cb262b922ef18fb78d1255

Contents?: true

Size: 764 Bytes

Versions: 6

Compression:

Stored size: 764 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "A parsed date object. This allows us to represent not just normal dates, but also partial dates too",
  "type": "object",
  "properties": {
    "year": {
      "type": "number",
      "description": "year part as YYYY"
    },
    "month": {
      "type": "number",
      "description": "month part of date in numbers e.g. 11 for November, 4 for April"
    },
    "day": {
      "type": [
        "number",
        "null"
      ],
      "description": "day part of date in numbers"
    }
  },
  "additionalProperties": false,
  "anyOf": [
    {
      "required": [
        "year",
        "month"
      ]
    },
    {
      "required": [
        "month",
        "day"
      ]
    }
  ]
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
turbot-runner-0.2.37 schema/schemas/includes/date.json
turbot-runner-0.2.36 schema/schemas/includes/date.json
turbot-runner-0.2.35 schema/schemas/includes/date.json
turbot-runner-0.2.34 schema/schemas/includes/date.json
turbot-runner-0.2.33 schema/schemas/includes/date.json
turbot-runner-0.2.32 schema/schemas/includes/date.json