@pdtf/schemas 3.5.1-9 → 3.6.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +6 -1
- package/package.json +1 -1
- package/src/schemas/v3/combined.json +108 -0
- package/src/schemas/v3/compactSkeleton.txt +16 -1
- package/src/schemas/v3/pdtf-transaction.json +116 -0
- package/src/schemas/v3/skeleton.json +31 -1
- package/src/tests/v3/enquiries.test.js +1096 -0
- package/src/utils/extractOverlay.js +37 -13
|
@@ -30,7 +30,12 @@
|
|
|
30
30
|
"Bash(while read file)",
|
|
31
31
|
"Bash(for:*)",
|
|
32
32
|
"Bash(do echo \"=== $file ===\")",
|
|
33
|
-
"Bash(do echo \"$file:\")"
|
|
33
|
+
"Bash(do echo \"$file:\")",
|
|
34
|
+
"Bash(npm run proposal:pdf:*)",
|
|
35
|
+
"Bash(base64:*)",
|
|
36
|
+
"Bash(gh issue view:*)",
|
|
37
|
+
"Read(//Users/ed/.claude/**)",
|
|
38
|
+
"Bash(npm init:*)"
|
|
34
39
|
],
|
|
35
40
|
"deny": []
|
|
36
41
|
}
|
package/package.json
CHANGED
|
@@ -41852,6 +41852,114 @@
|
|
|
41852
41852
|
"required": ["amount", "currency", "status"]
|
|
41853
41853
|
}
|
|
41854
41854
|
}
|
|
41855
|
+
},
|
|
41856
|
+
"enquiries": {
|
|
41857
|
+
"title": "Property transaction enquiries between conveyancers",
|
|
41858
|
+
"type": "object",
|
|
41859
|
+
"propertyNames": {
|
|
41860
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
|
|
41861
|
+
},
|
|
41862
|
+
"patternProperties": {
|
|
41863
|
+
".*": {
|
|
41864
|
+
"type": "object",
|
|
41865
|
+
"properties": {
|
|
41866
|
+
"subject": {
|
|
41867
|
+
"description": "The subject or topic of the enquiry",
|
|
41868
|
+
"type": "string"
|
|
41869
|
+
},
|
|
41870
|
+
"status": {
|
|
41871
|
+
"type": "string",
|
|
41872
|
+
"enum": [
|
|
41873
|
+
"pending",
|
|
41874
|
+
"open",
|
|
41875
|
+
"resolved",
|
|
41876
|
+
"resolvedWithCondition",
|
|
41877
|
+
"withdrawn"
|
|
41878
|
+
]
|
|
41879
|
+
},
|
|
41880
|
+
"messages": {
|
|
41881
|
+
"description": "Messages exchanged regarding this enquiry",
|
|
41882
|
+
"type": "object",
|
|
41883
|
+
"propertyNames": {
|
|
41884
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
|
|
41885
|
+
},
|
|
41886
|
+
"patternProperties": {
|
|
41887
|
+
".*": {
|
|
41888
|
+
"type": "object",
|
|
41889
|
+
"properties": {
|
|
41890
|
+
"datetime": {
|
|
41891
|
+
"type": "string",
|
|
41892
|
+
"format": "date-time"
|
|
41893
|
+
},
|
|
41894
|
+
"originatorRole": {
|
|
41895
|
+
"type": "string",
|
|
41896
|
+
"enum": [
|
|
41897
|
+
"Seller",
|
|
41898
|
+
"Seller's Conveyancer",
|
|
41899
|
+
"Buyer",
|
|
41900
|
+
"Buyer's Conveyancer",
|
|
41901
|
+
"Estate Agent",
|
|
41902
|
+
"Buyer's Agent",
|
|
41903
|
+
"Surveyor",
|
|
41904
|
+
"Mortgage Broker",
|
|
41905
|
+
"Lender"
|
|
41906
|
+
]
|
|
41907
|
+
},
|
|
41908
|
+
"destinationRole": {
|
|
41909
|
+
"type": "string",
|
|
41910
|
+
"enum": [
|
|
41911
|
+
"Seller",
|
|
41912
|
+
"Seller's Conveyancer",
|
|
41913
|
+
"Buyer",
|
|
41914
|
+
"Buyer's Conveyancer",
|
|
41915
|
+
"Estate Agent",
|
|
41916
|
+
"Buyer's Agent",
|
|
41917
|
+
"Surveyor",
|
|
41918
|
+
"Mortgage Broker",
|
|
41919
|
+
"Lender"
|
|
41920
|
+
]
|
|
41921
|
+
},
|
|
41922
|
+
"messageText": {
|
|
41923
|
+
"type": "string"
|
|
41924
|
+
}
|
|
41925
|
+
},
|
|
41926
|
+
"required": [
|
|
41927
|
+
"datetime",
|
|
41928
|
+
"originatorRole",
|
|
41929
|
+
"destinationRole",
|
|
41930
|
+
"messageText"
|
|
41931
|
+
]
|
|
41932
|
+
}
|
|
41933
|
+
}
|
|
41934
|
+
}
|
|
41935
|
+
},
|
|
41936
|
+
"required": ["subject", "status", "messages"],
|
|
41937
|
+
"discriminator": {
|
|
41938
|
+
"propertyName": "status"
|
|
41939
|
+
},
|
|
41940
|
+
"oneOf": [
|
|
41941
|
+
{
|
|
41942
|
+
"properties": {
|
|
41943
|
+
"status": {
|
|
41944
|
+
"const": "resolvedWithCondition"
|
|
41945
|
+
},
|
|
41946
|
+
"resolutionCondition": {
|
|
41947
|
+
"description": "Condition that must be met for the enquiry to be fully resolved",
|
|
41948
|
+
"type": "string"
|
|
41949
|
+
}
|
|
41950
|
+
},
|
|
41951
|
+
"required": ["resolutionCondition"]
|
|
41952
|
+
},
|
|
41953
|
+
{
|
|
41954
|
+
"properties": {
|
|
41955
|
+
"status": {
|
|
41956
|
+
"enum": ["pending", "open", "resolved", "withdrawn"]
|
|
41957
|
+
}
|
|
41958
|
+
}
|
|
41959
|
+
}
|
|
41960
|
+
]
|
|
41961
|
+
}
|
|
41962
|
+
}
|
|
41855
41963
|
}
|
|
41856
41964
|
}
|
|
41857
41965
|
}
|
|
@@ -4077,4 +4077,19 @@
|
|
|
4077
4077
|
started
|
|
4078
4078
|
expected
|
|
4079
4079
|
completed
|
|
4080
|
-
offers
|
|
4080
|
+
offers{*}
|
|
4081
|
+
amount
|
|
4082
|
+
currency
|
|
4083
|
+
status
|
|
4084
|
+
inclusions[]
|
|
4085
|
+
exclusions[]
|
|
4086
|
+
conditions[]
|
|
4087
|
+
enquiries{*}
|
|
4088
|
+
subject
|
|
4089
|
+
status
|
|
4090
|
+
messages{*}
|
|
4091
|
+
datetime
|
|
4092
|
+
originatorRole
|
|
4093
|
+
destinationRole
|
|
4094
|
+
messageText
|
|
4095
|
+
resolutionCondition
|
|
@@ -37394,6 +37394,122 @@
|
|
|
37394
37394
|
]
|
|
37395
37395
|
}
|
|
37396
37396
|
}
|
|
37397
|
+
},
|
|
37398
|
+
"enquiries": {
|
|
37399
|
+
"title": "Property transaction enquiries between conveyancers",
|
|
37400
|
+
"type": "object",
|
|
37401
|
+
"propertyNames": {
|
|
37402
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
|
|
37403
|
+
},
|
|
37404
|
+
"patternProperties": {
|
|
37405
|
+
".*": {
|
|
37406
|
+
"type": "object",
|
|
37407
|
+
"properties": {
|
|
37408
|
+
"subject": {
|
|
37409
|
+
"description": "The subject or topic of the enquiry",
|
|
37410
|
+
"type": "string"
|
|
37411
|
+
},
|
|
37412
|
+
"status": {
|
|
37413
|
+
"type": "string",
|
|
37414
|
+
"enum": [
|
|
37415
|
+
"pending",
|
|
37416
|
+
"open",
|
|
37417
|
+
"resolved",
|
|
37418
|
+
"resolvedWithCondition",
|
|
37419
|
+
"withdrawn"
|
|
37420
|
+
]
|
|
37421
|
+
},
|
|
37422
|
+
"messages": {
|
|
37423
|
+
"description": "Messages exchanged regarding this enquiry",
|
|
37424
|
+
"type": "object",
|
|
37425
|
+
"propertyNames": {
|
|
37426
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:+-]*$"
|
|
37427
|
+
},
|
|
37428
|
+
"patternProperties": {
|
|
37429
|
+
".*": {
|
|
37430
|
+
"type": "object",
|
|
37431
|
+
"properties": {
|
|
37432
|
+
"datetime": {
|
|
37433
|
+
"type": "string",
|
|
37434
|
+
"format": "date-time"
|
|
37435
|
+
},
|
|
37436
|
+
"originatorRole": {
|
|
37437
|
+
"type": "string",
|
|
37438
|
+
"enum": [
|
|
37439
|
+
"Seller",
|
|
37440
|
+
"Seller's Conveyancer",
|
|
37441
|
+
"Buyer",
|
|
37442
|
+
"Buyer's Conveyancer",
|
|
37443
|
+
"Estate Agent",
|
|
37444
|
+
"Buyer's Agent",
|
|
37445
|
+
"Surveyor",
|
|
37446
|
+
"Mortgage Broker",
|
|
37447
|
+
"Lender"
|
|
37448
|
+
]
|
|
37449
|
+
},
|
|
37450
|
+
"destinationRole": {
|
|
37451
|
+
"type": "string",
|
|
37452
|
+
"enum": [
|
|
37453
|
+
"Seller",
|
|
37454
|
+
"Seller's Conveyancer",
|
|
37455
|
+
"Buyer",
|
|
37456
|
+
"Buyer's Conveyancer",
|
|
37457
|
+
"Estate Agent",
|
|
37458
|
+
"Buyer's Agent",
|
|
37459
|
+
"Surveyor",
|
|
37460
|
+
"Mortgage Broker",
|
|
37461
|
+
"Lender"
|
|
37462
|
+
]
|
|
37463
|
+
},
|
|
37464
|
+
"messageText": {
|
|
37465
|
+
"type": "string"
|
|
37466
|
+
}
|
|
37467
|
+
},
|
|
37468
|
+
"required": [
|
|
37469
|
+
"datetime",
|
|
37470
|
+
"originatorRole",
|
|
37471
|
+
"destinationRole",
|
|
37472
|
+
"messageText"
|
|
37473
|
+
]
|
|
37474
|
+
}
|
|
37475
|
+
}
|
|
37476
|
+
}
|
|
37477
|
+
},
|
|
37478
|
+
"required": [
|
|
37479
|
+
"subject",
|
|
37480
|
+
"status",
|
|
37481
|
+
"messages"
|
|
37482
|
+
],
|
|
37483
|
+
"oneOf": [
|
|
37484
|
+
{
|
|
37485
|
+
"properties": {
|
|
37486
|
+
"status": {
|
|
37487
|
+
"const": "resolvedWithCondition"
|
|
37488
|
+
},
|
|
37489
|
+
"resolutionCondition": {
|
|
37490
|
+
"description": "Condition that must be met for the enquiry to be fully resolved",
|
|
37491
|
+
"type": "string"
|
|
37492
|
+
}
|
|
37493
|
+
},
|
|
37494
|
+
"required": [
|
|
37495
|
+
"resolutionCondition"
|
|
37496
|
+
]
|
|
37497
|
+
},
|
|
37498
|
+
{
|
|
37499
|
+
"properties": {
|
|
37500
|
+
"status": {
|
|
37501
|
+
"enum": [
|
|
37502
|
+
"pending",
|
|
37503
|
+
"open",
|
|
37504
|
+
"resolved",
|
|
37505
|
+
"withdrawn"
|
|
37506
|
+
]
|
|
37507
|
+
}
|
|
37508
|
+
}
|
|
37509
|
+
}
|
|
37510
|
+
]
|
|
37511
|
+
}
|
|
37512
|
+
}
|
|
37397
37513
|
}
|
|
37398
37514
|
}
|
|
37399
37515
|
}
|
|
@@ -5186,5 +5186,35 @@
|
|
|
5186
5186
|
"completed": "string"
|
|
5187
5187
|
}
|
|
5188
5188
|
},
|
|
5189
|
-
"offers": {
|
|
5189
|
+
"offers": {
|
|
5190
|
+
"*": {
|
|
5191
|
+
"amount": "number",
|
|
5192
|
+
"currency": "string",
|
|
5193
|
+
"status": "string",
|
|
5194
|
+
"inclusions": [
|
|
5195
|
+
"string"
|
|
5196
|
+
],
|
|
5197
|
+
"exclusions": [
|
|
5198
|
+
"string"
|
|
5199
|
+
],
|
|
5200
|
+
"conditions": [
|
|
5201
|
+
"string"
|
|
5202
|
+
]
|
|
5203
|
+
}
|
|
5204
|
+
},
|
|
5205
|
+
"enquiries": {
|
|
5206
|
+
"*": {
|
|
5207
|
+
"subject": "string",
|
|
5208
|
+
"status": "variant",
|
|
5209
|
+
"messages": {
|
|
5210
|
+
"*": {
|
|
5211
|
+
"datetime": "string",
|
|
5212
|
+
"originatorRole": "string",
|
|
5213
|
+
"destinationRole": "string",
|
|
5214
|
+
"messageText": "string"
|
|
5215
|
+
}
|
|
5216
|
+
},
|
|
5217
|
+
"resolutionCondition": "string"
|
|
5218
|
+
}
|
|
5219
|
+
}
|
|
5190
5220
|
}
|