UNPKG

wqx

Version:

Water Quality Exchange (WQX): JSON Schema

84 lines (83 loc) 2.92 kB
{ "$id": "https://epa.gov/wqx/project.json", "$schema": "https://json-schema.org/draft/2020-12/schema#", "title": "Projects", "description": "WQX Web Projects", "type": "object", "additionalProperties": false, "unevaluatedProperties": false, "properties": { "Project ID": { "title": "Project ID", "description": "Valid Project ID; separate multiple Projects with `\\`.", "type": "string", "minLength": 0, "maxLength": 35, "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{M}\\p{S} ]+$" }, "Project Name": { "title": "Project Name", "description": "A unique Name for the Project", "type": "string", "minLength": 0, "maxLength": 120, "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{M}\\p{S} ]+$" }, "Project Description": { "title": "Project Description", "description": "Project purpose and/or summary, must provide either project description or supply a Project Attachment", "type": "string", "minLength": 0, "maxLength": 120, "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{M}\\p{S} ]+$" }, "Sampling Design Type": { "title": "Sampling Design Type", "description": "A code used to identify the type of sampling design employed for this project to ensure that sampling activities can support project objectives.", "type": "string", "enum": [ "Probabilistic", "Target+Probabilistic", "Targeted" ], "maxLength": 20 }, "QAPP Approved Indicator": { "title": "QAPP Approved Indicator", "description": "Indicates whether a Quality Assurance Project Plan (QAPP) has been approved for the submitted project.", "type": "string", "enum": [ "Yes", "No" ] }, "QAPP Approval Agency Name": { "title": "QAPP Approval Agency Name", "description": "An outside approval authority identifier for the QAPP (e.g. EPA or State Organization).", "type": "string", "minLength": 0, "maxLength": 50, "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{M}\\p{S} ]+$" }, "Project Attachment File Name": { "title": "Project Attachment File Name", "description": "The text describing the descriptive name used to represent the file, including file extension. Must provide either project description or supply a Project Attachment", "type": "string", "minLength": 0, "maxLength": 255, "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{M}\\p{S} ]+$" }, "Project Attachment Type": { "title": "Project Attachment Type", "description": "File text extension, free text not domain list validation. Required if Project Attachment File Name is reported.", "type": "string", "minLength": 0, "maxLength": 6, "pattern": "^[\\p{L}\\p{N}\\p{P}\\p{M}\\p{S} ]+$" } }, "required": [ "Project ID", "Project Name" ] }