Skip to content

Commit

Permalink
Merge pull request #42 from bcgov/4610-email-info
Browse files Browse the repository at this point in the history
4610 email info
  • Loading branch information
thorwolpert authored Aug 14, 2020
2 parents 891d247 + bc4bcea commit 293b740
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
flask
jsonschema
requests
strict-rfc3339
strict-rfc3339
3 changes: 3 additions & 0 deletions src/registry_schemas/example_data/schema_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,9 @@
'hasRightsOrRestrictions': False
}]
}]
},
'contactPoint': {
'email': '[email protected]'
}
}

Expand Down
3 changes: 3 additions & 0 deletions src/registry_schemas/schemas/alteration.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
}
}
}
},
"contactPoint": {
"$ref": "https://bcrs.gov.bc.ca/.well_known/schemas/contactPoint"
}
}
}
3 changes: 1 addition & 2 deletions src/registry_schemas/schemas/contact_point.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://bcrs.gov.bc.ca/.well_known/schemas/contactPoint",
"required": [
"email",
"phone"
"email"
],
"type": "object",
"title": "Business Contact Point Schema",
Expand Down
2 changes: 1 addition & 1 deletion src/registry_schemas/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
Development release segment: .devN
"""

__version__ = '2.6.0' # pylint: disable=invalid-name
__version__ = '2.6.2' # pylint: disable=invalid-name

0 comments on commit 293b740

Please sign in to comment.