{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openeik.org/schemas/0.7/checks/permit.schema.json",
  "$comment": "OpenEik 0.7: folded by tools/fold-schemas-0.7.mjs from the proposal checks, which 0.7 makes a rule (open questions, 169). Written by hand, not generated.",
  "title": "A project's permit",
  "description": "The facts of the project's permit that codes' rules apply to it by (Part II, 2.5): the day its application for a permit, or its notification, reached the authority, and, where a transition lets a project that applied before the day a code's rules apply from choose them, its choice, by the rules' name.",
  "type": "object",
  "properties": {
    "applied": {
      "description": "The day the project's application for a building permit, or its notification, reached the authority that decides it, YYYY-MM-DD; where its works need neither, the day they started (rule 1).",
      "type": "string",
      "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$"
    },
    "newRules": {
      "description": "The project's choice where a transition lets it choose, by the rules' name as a check's when.since names them (rule 2): true where it applies those rules before the day they apply from, false where it applies, in their place, the rules before them. A choice it does not give, it has not made.",
      "type": "object",
      "maxProperties": 20,
      "propertyNames": {
        "type": "string",
        "minLength": 1,
        "maxLength": 100
      },
      "additionalProperties": {
        "type": "boolean"
      }
    }
  },
  "required": [
    "applied"
  ],
  "additionalProperties": false
}
