Skip to content

Commit

Permalink
Add network field to provider schema and example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-senechal committed Dec 19, 2024
1 parent 821f053 commit 39d5757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Here is an example of a provider file:
title: Example Provider
url: https://example.com
desc: An example provider for the Massa DeWeb project.
network: mainnet
owner: Example Company
contact:
email: [email protected]
Expand Down
1 change: 1 addition & 0 deletions schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ title: str(required=True)
url: str(required=True, regex='^https?://[\\w.-]+(?:\\.[\\w\\.-]+)+[/\\w\\.-]*$')
desc: str(required=True)
owner: str(required=True)
network: enum('mainnet', 'buildnet', required=True)
contact: map(required=True)
contact:
email: str(required=False, regex='^[\\w\\.-]+@[\\w\\.-]+\\.[a-zA-Z]{2,}$')
Expand Down

0 comments on commit 39d5757

Please sign in to comment.