Skip to content

Commit

Permalink
rename legacy to offer
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Oct 29, 2024
1 parent 3194715 commit a6d3588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 27 deletions.
27 changes: 3 additions & 24 deletions projects/uitdatabank/models/common-offer-contactPoint.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"title": "contactPoint",
"x-stoplight": {
"id": "1f397ebdb62c3"
},
"type": "object",
"description": "Contact info containing one or more phone numbers, email addresses and/or website URLs.",
"examples": [
Expand All @@ -23,45 +20,27 @@
"type": "array",
"description": "List of phone numbers for contact purposes (can be empty)",
"minItems": 0,
"x-stoplight": {
"id": "07gkx8y0rkvwj"
},
"items": {
"type": "string",
"description": "Phone number for contact purposes.",
"x-stoplight": {
"id": "w8pezpqql1l53"
}
"description": "Phone number for contact purposes."
}
},
"email": {
"type": "array",
"description": "List of email addresses for contact purposes (can be empty)",
"minItems": 0,
"x-stoplight": {
"id": "b22melmqokkui"
},
"items": {
"$ref": "./common-string-offer-email.json",
"description": "Email address for contact purposes.",
"x-stoplight": {
"id": "bwpej4r5kolq1"
}
"description": "Email address for contact purposes."
}
},
"url": {
"type": "array",
"description": "List of URLs for contact purposes (can be empty)",
"minItems": 0,
"x-stoplight": {
"id": "pf73yu5u00uxr"
},
"items": {
"$ref": "./common-string-offer-uri.json",
"description": "URL to a website for contact purposes.",
"x-stoplight": {
"id": "4zzc1efbsuoep"
}
"description": "URL to a website for contact purposes."
}
}
},
Expand Down
3 changes: 0 additions & 3 deletions projects/uitdatabank/models/common-string-offer-email.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"title": "e-mail",
"x-stoplight": {
"id": "mcoyygoas1u7k"
},
"description": "An email format",
"type": "string",
"pattern": "^(|[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,})$",
Expand Down

0 comments on commit a6d3588

Please sign in to comment.