Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into jake/issue#496
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobyavis committed Jun 21, 2024
2 parents b41be12 + cc79c1a commit 5f791d5
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 12 deletions.
24 changes: 23 additions & 1 deletion docs/schema_markdown/schema/objects/Stakeholder.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/schema_markdown/schema/types/Phone.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 21 additions & 1 deletion samples/Stakeholders.ocf.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,27 @@
"object_type": "STAKEHOLDER",
"id": "stakeholder-sample-minimal-fields",
"name": { "legal_name": "XYZ Holdings Fund IV" },
"stakeholder_type": "INSTITUTION"
"stakeholder_type": "INSTITUTION",
"comments": []
},
{
"object_type": "STAKEHOLDER",
"id": "d6c49a5a-257d-4b41-9f1d-073a77dfe719",
"name": { "legal_name": "Person Y" },
"stakeholder_type": "INDIVIDUAL",
"contact_info": {
"phone_numbers": [
{
"phone_type": "HOME",
"phone_number": "+1 617 333 4444 ext. 100"
},
{
"phone_type": "BUSINESS",
"phone_number": "+1 800 333 1212 extension 200"
}
]
},
"comments": []
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/transactions/adjustment/IssuerAuthorizedSharesAdjustment.schema.json",
"title": "Object - Issuer Authorized Shares Adjustment Transaction",
"description": "Object describing an event to change the number of authoried shares at the issuer level.",
"description": "Object describing an event to change the number of authorized shares at the issuer level.",
"type": "object",
"allOf": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/objects/transactions/adjustment/StockClassAuthorizedSharesAdjustment.schema.json",
"title": "Object - Stock Class Authorized Shares Adjustment Transaction",
"description": "Object describing an event to change the number of authoried shares of a stock class.",
"description": "Object describing an event to change the number of authorized shares of a stock class.",
"type": "object",
"allOf": [
{
Expand Down
4 changes: 2 additions & 2 deletions schema/types/Phone.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"$ref": "https://raw.githubusercontent.com/Open-Cap-Table-Coalition/Open-Cap-Format-OCF/main/schema/enums/PhoneType.schema.json"
},
"phone_number": {
"description": "A valid phone number string in ITU E.123 international notation (e.g. +123 123 456 7890)",
"description": "A valid phone number string in ITU E.123 international notation (e.g. +123 123 456 7890). An extension number, if applicable, should be separated by words ''extension'' or ''ext.'' after the phone number (e.g. +123 123 456 7890 ext. 100).",
"type": "string",
"pattern": "^\\+\\d{1,3}\\s\\d{2,3}\\s\\d{2,3}\\s\\d{4}$"
"pattern": "^\\+\\d{1,3}\\s\\d{2,3}\\s\\d{2,3}\\s\\d{4}(\\s(ext.|extension)\\s\\d+)?$"
}
},
"additionalProperties": false,
Expand Down

0 comments on commit 5f791d5

Please sign in to comment.