.well format
Permit
The permits optional block of a .well file: a list of Permit objects.
Property permits of the .well root, an array of objects, optional. Defined in the spec.
| Field | Type | Required | Values / constraints | Description |
|---|---|---|---|---|
id | string | yes | ||
type | string | yes | ||
authority | string | yes | ||
identifier | string | no | ||
request_identifier | string | no | ||
status | string | no | requested, granted, suspended, revoked, denied, withdrawn | |
issued_at | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
valid_from | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
valid_until | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
renewal_requested_at | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
water_use | string | no | ||
flow_rate | number | no | >= 0 | |
daily_operating_time | number | no | >= 0 | |
volume_limits | object | no | ||
volume_limits[].period | string | yes | daily, monthly, annual | |
volume_limits[].volume | number | yes | >= 0 | |
monthly_schedule | object | no | ||
monthly_schedule[].month | integer | yes | >= 1; <= 12 | |
monthly_schedule[].flow_rate | number | no | >= 0 | |
monthly_schedule[].daily_operating_time | number | no | >= 0 | |
monthly_schedule[].days | integer | no | >= 0; <= 31 | |
conditions | object | no | ||
conditions[].id | string | yes | ||
conditions[].description | string | yes | ||
conditions[].category | string | no | ||
conditions[].first_due | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
conditions[].due_after | string | no | pattern ^P(?=\d)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?$ | |
conditions[].recurrence | string | no | pattern ^P(?=\d)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?$ | |
conditions[].last_due | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
conditions[].occurrences | integer | no | > 0 | |
conditions[].responsible | string | no | ||
conditions[].fulfillments | object | no | ||
conditions[].fulfillments[].id | string | yes | ||
conditions[].fulfillments[].datetime | string | yes | pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$ | |
conditions[].fulfillments[].due_date | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
conditions[].fulfillments[].description | string | no | ||
conditions[].fulfillments[].author | string | no | ||
conditions[].fulfillments[].event_id | string | no | ||
conditions[].fulfillments[].sample_id | string | no | ||
conditions[].fulfillments[].updated_at | string | no | pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$ | |
conditions[].fulfillments[].attachments | Attachment | no | ||
history | object | no | ||
history[].id | string | yes | ||
history[].date | string | yes | pattern ^\d{4}-\d{2}-\d{2}$ | |
history[].type | string | no | ||
history[].description | string | yes | ||
history[].done | boolean | no | ||
history[].due_date | string | no | pattern ^\d{4}-\d{2}-\d{2}$ | |
history[].updated_at | string | no | pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$ | |
history[].attachments | Attachment | no | ||
supersedes | string | no | ||
notes | string | no | ||
updated_at | string | no | pattern ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}:\d{2})$ | |
attachments | Attachment | no |