cmsgov.provider_data.v1.model
JsonOrCsvQueryOkResponse
JsonOrCsvQueryOkResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
results: (
cmsgov.provider_data.v1.model.JsonOrCsvQueryOkResponseResults
| None
) = None,
count: int | None = None,
schema: sob.Array | sob.Dictionary | None = None,
query: sob.Dictionary | None = None,
)
Bases: sob.Object
Attributes:
-
results(cmsgov.provider_data.v1.model.JsonOrCsvQueryOkResponseResults | None) – -
count(int | None) – -
schema(sob.Array | sob.Dictionary | None) – -
query(sob.Dictionary | None) –
Source code in src/cmsgov/provider_data/v1/model.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | |
Dataset
Dataset(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
title: str | None = None,
identifier: str | None = None,
description: str | None = None,
access_level: str | None = None,
rights: str | sob.Null | None = None,
accrual_periodicity: str | None = None,
described_by: str | None = None,
described_by_type: str | None = None,
issued: str | None = None,
modified: str | None = None,
released: str | None = None,
next_update_date: str | None = None,
license_: str | None = None,
spatial: str | None = None,
temporal: str | None = None,
is_part_of: str | None = None,
publisher: (
cmsgov.provider_data.v1.model.DatasetPublisher
| None
) = None,
bureau_code: (
cmsgov.provider_data.v1.model.DatasetBureauCode
| None
) = None,
program_code: (
cmsgov.provider_data.v1.model.DatasetProgramCode
| None
) = None,
contact_point: (
cmsgov.provider_data.v1.model.DatasetContactPoint
| sob.Dictionary
| None
) = None,
theme: (
cmsgov.provider_data.v1.model.DatasetTheme | None
) = None,
keyword: (
cmsgov.provider_data.v1.model.DatasetKeyword | None
) = None,
distribution: (
cmsgov.provider_data.v1.model.DatasetDistributions
| None
) = None,
references: (
cmsgov.provider_data.v1.model.DatasetReferences
| None
) = None,
archive_exclude: bool | None = None,
landing_page: str | None = None,
)
Bases: sob.Object
The metadata format for all federal open data. Validates a single JSON object entry (as opposed to entire Data.json catalog).
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be dcat:Dataset for each Dataset.
-
title(str | None) –Human-readable name of the asset. Should be in plain English and include sufficient detail to facilitate search and discovery.
-
identifier(str | None) –A unique identifier for the dataset or API as maintained within an Agency catalog or database.
-
description(str | None) –Human-readable description (e.g., an abstract) with sufficient detail to enable a user to quickly understand whether the asset is of interest.
-
access_level(str | None) –The degree to which this dataset could be made publicly-available, regardless of whether it has been made available. Choices: public (Data asset is or could be made publicly available to all without restrictions), restricted public (Data asset is available under certain use restrictions), or non-public ( Data asset is not available to members of the public).
-
rights(str | sob.Null | None) –This may include information regarding access or restrictions based on privacy, security, or other policies. This should also provide an explanation for the selected "accessLevel" including instructions for how to access a restricted file, if applicable, or explanation for why a "non-public" or "restricted public" data assetis not "public," if applicable. Text, 255 characters.
-
accrual_periodicity(str | None) –Frequency with which dataset is published.
-
described_by(str | None) –URL to the data dictionary for the dataset or API. Note that documentation other than a data dictionary can be referenced using Related Documents as shown in the expanded fields.
-
described_by_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.
-
issued(str | None) –Date of formal issuance.
-
modified(str | None) –Most recent date on which the dataset was changed, updated or modified.
-
released(str | None) –Date on which the dataset is scheduled to be published.
-
next_update_date(str | None) –The date on which the dataset is expected to be updated next.
-
license_(str | None) –The license dataset or API is published with. See Open Licenses</ a> for more information.
-
spatial(str | None) –The spatial coverage of the dataset. Could include a spatial region like a bounding box or a named place.
-
temporal(str | None) –The start and end dates for which the dataset is applicable, separated by a "/" (i.e., 2000-01-15T00:45:00Z/2010-01- 15T00:06:00Z).
-
is_part_of(str | None) –The collection of which the dataset is a subset.
-
publisher(cmsgov.provider_data.v1.model.DatasetPublisher | None) –A Dataset Publisher Organization.
-
bureau_code(cmsgov.provider_data.v1.model.DatasetBureauCode | None) –Federal agencies, combined agency and bureau code from OMB Circular A-11, Appendix C in the format of
015:010. -
program_code(cmsgov.provider_data.v1.model.DatasetProgramCode | None) –Federal agencies, list the primary program related to this data asset, from the Federal Program Inventory. Use the format of
015:001 -
contact_point(cmsgov.provider_data.v1.model.DatasetContactPoint | sob.Dictionary | None) –A Dataset ContactPoint as a vCard object.
-
theme(cmsgov.provider_data.v1.model.DatasetTheme | None) –Main thematic category of the dataset.
-
keyword(cmsgov.provider_data.v1.model.DatasetKeyword | None) –Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non- technical users.
-
distribution(cmsgov.provider_data.v1.model.DatasetDistributions | None) –A distribution is a container for the data object. Each distribution should contain one accessURL or downloadURL. When providing a downloadURL, also include the format of the file.
-
references(cmsgov.provider_data.v1.model.DatasetReferences | None) –Related documents such as technical information about a dataset, developer documentation, etc.
-
archive_exclude(bool | None) –For excluding this dataset from its provider's ' download all datasets'.
-
landing_page(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 | |
DatasetBureauCode
DatasetBureauCode(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Federal agencies, combined agency and bureau code from
OMB Circular A-11, Appendix C in the format of 015:010.
Source code in src/cmsgov/provider_data/v1/model.py
456 457 458 459 460 461 462 463 464 465 466 467 468 | |
DatasetContactPoint
DatasetContactPoint(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
fn: str | None = None,
has_email: str | None = None,
has_url: str | None = None,
)
Bases: sob.Object
A Dataset ContactPoint as a vCard object.
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be vcard:Contact for contactPoint.
-
fn(str | None) –A full formatted name, e.g. Firstname Lastname.
-
has_email(str | None) –Email address for the contact name.
-
has_url(str | None) –URL for the contact
Source code in src/cmsgov/provider_data/v1/model.py
490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 | |
DatasetDistributions
DatasetDistributions(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatasetDistribution
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
A distribution is a container for the data object. Each distribution should contain one accessURL or downloadURL. When providing a downloadURL, also include the format of the file.
Source code in src/cmsgov/provider_data/v1/model.py
553 554 555 556 557 558 559 560 561 562 563 564 565 | |
DatasetDistribution
DatasetDistribution(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
title: str | None = None,
description: str | None = None,
format_: str | None = None,
media_type: str | None = None,
download_url: str | None = None,
access_url: str | None = None,
conforms_to: str | None = None,
described_by: str | None = None,
described_by_type: str | None = None,
)
Bases: sob.Object
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be dcat: Distribution for each Distribution.
-
title(str | None) –Human-readable name of the file.
-
description(str | None) –Human-readable description of the file.
-
format_(str | None) –A human-readable description of the file format of a distribution (i.e. csv, pdf, kml, etc.).
-
media_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s downloadURL.
-
download_url(str | None) –URL providing direct access to a downloadable file of a dataset.
-
access_url(str | None) –URL providing indirect access to a dataset.
-
conforms_to(str | None) –URI used to identify a standardized specification the distribution conforms to.
-
described_by(str | None) –URL to the data dictionary for the distribution found at the downloadURL.
-
described_by_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.
Source code in src/cmsgov/provider_data/v1/model.py
604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 | |
DatasetKeyword
DatasetKeyword(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non-technical users.
Source code in src/cmsgov/provider_data/v1/model.py
714 715 716 717 718 719 720 721 722 723 724 725 726 | |
DatasetProgramCode
DatasetProgramCode(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Federal agencies, list the primary program related to this data asset, from
the Federal Program
Inventory. Use the format of 015:001
Source code in src/cmsgov/provider_data/v1/model.py
737 738 739 740 741 742 743 744 745 746 747 748 749 | |
DatasetPublisher
DatasetPublisher(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
name: str | None = None,
sub_organization_of: str | None = None,
)
Bases: sob.Object
A Dataset Publisher Organization.
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be org: Organization for each publisher
-
name(str | None) – -
sub_organization_of(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 | |
DatasetReferences
DatasetReferences(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Related documents such as technical information about a dataset, developer documentation, etc.
Source code in src/cmsgov/provider_data/v1/model.py
823 824 825 826 827 828 829 830 831 832 833 834 835 | |
DatasetTheme
DatasetTheme(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Main thematic category of the dataset.
Source code in src/cmsgov/provider_data/v1/model.py
843 844 845 846 847 848 849 850 851 852 853 854 855 | |
Datasets
Datasets(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.Dataset
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
An array of datasets.
Source code in src/cmsgov/provider_data/v1/model.py
863 864 865 866 867 868 869 870 871 872 873 874 875 | |
DatastoreQuery
DatastoreQuery(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resources: (
cmsgov.provider_data.v1.model.DatastoreQueryResources
| None
) = None,
properties: (
cmsgov.provider_data.v1.model.DatastoreQueryProperties
| None
) = None,
conditions: (
cmsgov.provider_data.v1.model.DatastoreQueryConditions
| None
) = None,
joins: (
cmsgov.provider_data.v1.model.DatastoreQueryJoins
| None
) = None,
groupings: (
cmsgov.provider_data.v1.model.DatastoreQueryGroupings
| None
) = None,
limit: int | None = None,
offset: int | None = None,
sorts: (
cmsgov.provider_data.v1.model.DatastoreQuerySorts
| None
) = None,
count: bool | None = None,
results: bool | None = None,
schema: bool | None = None,
keys: bool | None = None,
format_: str | None = None,
row_ids: bool | None = None,
)
Bases: sob.Object
Schema for DKAN datastore queries
Attributes:
-
resources(cmsgov.provider_data.v1.model.DatastoreQueryResources | None) –Resources to query against and aliases. Usually you will add only one resource to this array, but if performing a join, list the primary resource first and then add resources to be used in the joins array.
-
properties(cmsgov.provider_data.v1.model.DatastoreQueryProperties | None) – -
conditions(cmsgov.provider_data.v1.model.DatastoreQueryConditions | None) –Conditions or groups of conditions for the query, bound by 'and' operator.
-
joins(cmsgov.provider_data.v1.model.DatastoreQueryJoins | None) –Joins
-
groupings(cmsgov.provider_data.v1.model.DatastoreQueryGroupings | None) –Properties or aliases to group results by.
-
limit(int | None) –Limit for maximum number of records returned. Pass zero for no limit (may be restricted by user permissions).
-
offset(int | None) –Number of records to offset by or skip before returning first record.
-
sorts(cmsgov.provider_data.v1.model.DatastoreQuerySorts | None) –Result sorting directives.
-
count(bool | None) –Return a count of the total rows returned by the query, ignoring the limit/offset.
-
results(bool | None) –Return the result set. Set to false and set count to true to receive only a count of matches.
-
schema(bool | None) –Return the schema for the datastore collection.
-
keys(bool | None) –Return results as an array of keyed objects, with the column machine names as keys. If false, results will be an array of simple arrays of values.
-
format_(str | None) –Format to return data in. Default is JSON, can be set to CSV.
-
row_ids(bool | None) –Flag to include the result_number column in output. Default is FALSE
Source code in src/cmsgov/provider_data/v1/model.py
928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 | |
DatastoreQueryConditions
DatastoreQueryConditions(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatastoreQueryCondition
| cmsgov.provider_data.v1.model.DatastoreQueryConditionGroup
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Conditions or groups of conditions for the query, bound by 'and' operator.
Source code in src/cmsgov/provider_data/v1/model.py
1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 | |
DatastoreQueryGroupings
DatastoreQueryGroupings(
items: (
typing.Iterable[
str
| cmsgov.provider_data.v1.model.DatastoreQueryResourceProperty
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Properties or aliases to group results by.
Source code in src/cmsgov/provider_data/v1/model.py
1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 | |
DatastoreQueryJoins
DatastoreQueryJoins(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatastoreQueryJoinsItem
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Joins
Source code in src/cmsgov/provider_data/v1/model.py
1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 | |
DatastoreQueryJoinsItem
DatastoreQueryJoinsItem(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resource: str | None = None,
condition: (
cmsgov.provider_data.v1.model.DatastoreQueryCondition
| None
) = None,
)
Bases: sob.Object
Attributes:
-
resource(str | None) –Alias to resource set in resources array. Not needed when only querying against one resource.
-
condition(cmsgov.provider_data.v1.model.DatastoreQueryCondition | None) –Condition object including property, value and operator. If querying only one resource, the "resource" does not need to be specified.
Source code in src/cmsgov/provider_data/v1/model.py
1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 | |
DatastoreQueryPropertyResource
DatastoreQueryPropertyResource(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resource: str | None = None,
property_: str | None = None,
alias: str | None = None,
)
Bases: sob.Object
Attributes:
-
resource(str | None) –Alias to resource set in resources array. Not needed when only querying against one resource.
-
property_(str | None) –The property/column or alias to filter by. Should not include collection/table alias.
-
alias(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 | |
DatastoreQueryPropertyExpression
DatastoreQueryPropertyExpression(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
expression: (
cmsgov.provider_data.v1.model.DatastoreQueryExpression
| None
) = None,
alias: str | None = None,
)
Bases: sob.Object
Attributes:
-
expression(cmsgov.provider_data.v1.model.DatastoreQueryExpression | None) –Arithmetic or aggregate expression performed on one or more properties.
-
alias(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 | |
DatastoreQueryResources
DatastoreQueryResources(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatastoreQueryResource
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Resources to query against and aliases. Usually you will add only one resource to this array, but if performing a join, list the primary resource first and then add resources to be used in the joins array.
Source code in src/cmsgov/provider_data/v1/model.py
1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 | |
DatastoreQueryResource
DatastoreQueryResource(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
alias: str | None = None,
id_: str | None = None,
)
Bases: sob.Object
Attributes:
-
alias(str | None) –Alias to use to refer to this resource elsewhere in the query.
-
id_(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 | |
DatastoreQuerySorts
DatastoreQuerySorts(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatastoreQuerySort
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Result sorting directives.
Source code in src/cmsgov/provider_data/v1/model.py
1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 | |
DatastoreQueryCondition
DatastoreQueryCondition(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resource: str | None = None,
property_: str | None = None,
value: (
sob.Array
| str
| decimal.Decimal
| float
| int
| cmsgov.provider_data.v1.model.DatastoreQueryConditionValueAnyOf2
| cmsgov.provider_data.v1.model.DatastoreQueryResourceProperty
| None
) = None,
operator: str | None = None,
)
Bases: sob.Object
Condition object including property, value and operator. If querying only one resource, the "resource" does not need to be specified.
Attributes:
-
resource(str | None) –Alias to resource set in resources array. Not needed when only querying against one resource.
-
property_(str | None) –The property/column or alias to filter by. Should not include collection/table alias.
-
value(sob.Array | str | decimal.Decimal | float | int | cmsgov.provider_data.v1.model.DatastoreQueryConditionValueAnyOf2 | cmsgov.provider_data.v1.model.DatastoreQueryResourceProperty | None) –The value to filter against.
-
operator(str | None) –Condition operator
Source code in src/cmsgov/provider_data/v1/model.py
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 | |
DatastoreQueryConditionGroup
DatastoreQueryConditionGroup(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
group_operator: str | None = None,
conditions: (
cmsgov.provider_data.v1.model.DatastoreQueryConditionGroupConditions
| None
) = None,
)
Bases: sob.Object
Group of conditions bound by 'and'/'or' operators.
Attributes:
-
group_operator(str | None) – -
conditions(cmsgov.provider_data.v1.model.DatastoreQueryConditionGroupConditions | None) –
Source code in src/cmsgov/provider_data/v1/model.py
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 | |
DatastoreQueryExpression
DatastoreQueryExpression(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
operator: str | None = None,
operands: (
cmsgov.provider_data.v1.model.DatastoreQueryExpressionOperands
| None
) = None,
)
Bases: sob.Object
Arithmetic or aggregate expression performed on one or more properties.
Attributes:
-
operator(str | None) –Expression operator. Note that performing expressions on text or other non-numeric data types my yield unexpected results.
-
operands(cmsgov.provider_data.v1.model.DatastoreQueryExpressionOperands | None) –Arithmetic operators will require two operands, aggregate operators should take only one. Do not combine arithmetic and aggregate operators in a single query.
Source code in src/cmsgov/provider_data/v1/model.py
1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 | |
DatastoreQueryExpressionOperands
DatastoreQueryExpressionOperands(
items: (
typing.Iterable[
float
| int
| decimal.Decimal
| str
| cmsgov.provider_data.v1.model.DatastoreQueryResourceProperty
| cmsgov.provider_data.v1.model.DatastoreQueryExpressionOperandsItemAnyOf3
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Arithmetic operators will require two operands, aggregate operators should take only one. Do not combine arithmetic and aggregate operators in a single query.
Source code in src/cmsgov/provider_data/v1/model.py
1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 | |
DatastoreQueryExpressionOperandsItemAnyOf3
DatastoreQueryExpressionOperandsItemAnyOf3(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
expression: typing.Any | None = None,
)
Bases: sob.Object
Attributes:
-
expression(typing.Any | None) –Arithmetic or aggregate expression performed on one or more properties.
Source code in src/cmsgov/provider_data/v1/model.py
1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 | |
DatastoreQueryResourceProperty
DatastoreQueryResourceProperty(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resource: str | None = None,
property_: str | None = None,
)
Bases: sob.Object
Property name with optional collection/table alias.
Attributes:
-
resource(str | None) –Alias to resource set in resources array. Not needed when only querying against one resource.
-
property_(str | None) –The property/column or alias to filter by. Should not include collection/table alias.
Source code in src/cmsgov/provider_data/v1/model.py
1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 | |
DatastoreQuerySort
DatastoreQuerySort(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resource: str | None = None,
property_: str | None = None,
order: str | None = None,
)
Bases: sob.Object
Properties to sort by in a particular order.
Attributes:
-
resource(str | None) –Alias to resource set in resources array. Not needed when only querying against one resource.
-
property_(str | None) –The property/column or alias to filter by. Should not include collection/table alias.
-
order(str | None) –Order to sort in, lowercase.
Source code in src/cmsgov/provider_data/v1/model.py
1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 | |
DatastoreResourceQuery
DatastoreResourceQuery(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
properties: (
cmsgov.provider_data.v1.model.DatastoreResourceQueryProperties
| None
) = None,
conditions: (
cmsgov.provider_data.v1.model.DatastoreResourceQueryConditions
| None
) = None,
groupings: (
cmsgov.provider_data.v1.model.DatastoreResourceQueryGroupings
| None
) = None,
limit: int | None = None,
offset: int | None = None,
sorts: (
cmsgov.provider_data.v1.model.DatastoreResourceQuerySorts
| None
) = None,
count: bool | None = None,
results: bool | None = None,
schema: bool | None = None,
keys: bool | None = None,
format_: str | None = None,
row_ids: bool | None = None,
)
Bases: sob.Object
Schema for DKAN datastore queries. When querying against a specific resource, the "resource" property is always optional. If you want to set it explicitly, note that it will be aliased to simply "t".
Attributes:
-
properties(cmsgov.provider_data.v1.model.DatastoreResourceQueryProperties | None) – -
conditions(cmsgov.provider_data.v1.model.DatastoreResourceQueryConditions | None) –Conditions or groups of conditions for the query, bound by 'and' operator.
-
groupings(cmsgov.provider_data.v1.model.DatastoreResourceQueryGroupings | None) –Properties or aliases to group results by.
-
limit(int | None) –Limit for maximum number of records returned. Pass zero for no limit (may be restricted by user permissions).
-
offset(int | None) –Number of records to offset by or skip before returning first record.
-
sorts(cmsgov.provider_data.v1.model.DatastoreResourceQuerySorts | None) –Result sorting directives.
-
count(bool | None) –Return a count of the total rows returned by the query, ignoring the limit/offset.
-
results(bool | None) –Return the result set. Set to false and set count to true to receive only a count of matches.
-
schema(bool | None) –Return the schema for the datastore collection.
-
keys(bool | None) –Return results as an array of keyed objects, with the column machine names as keys. If false, results will be an array of simple arrays of values.
-
format_(str | None) –Format to return data in. Default is JSON, can be set to CSV.
-
row_ids(bool | None) –Flag to include the result_number column in output. Default is FALSE
Source code in src/cmsgov/provider_data/v1/model.py
1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 | |
DatastoreResourceQueryConditions
DatastoreResourceQueryConditions(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatastoreQueryCondition
| cmsgov.provider_data.v1.model.DatastoreQueryConditionGroup
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Conditions or groups of conditions for the query, bound by 'and' operator.
Source code in src/cmsgov/provider_data/v1/model.py
2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 | |
DatastoreResourceQueryGroupings
DatastoreResourceQueryGroupings(
items: (
typing.Iterable[
str
| cmsgov.provider_data.v1.model.DatastoreQueryResourceProperty
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Properties or aliases to group results by.
Source code in src/cmsgov/provider_data/v1/model.py
2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 | |
DatastoreResourceQueryPropertiesItemAnyOf1
DatastoreResourceQueryPropertiesItemAnyOf1(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
resource: str | None = None,
property_: str | None = None,
alias: str | None = None,
)
Bases: sob.Object
Attributes:
-
resource(str | None) –Alias to resource set in resources array. Not needed when only querying against one resource.
-
property_(str | None) –The property/column or alias to filter by. Should not include collection/table alias.
-
alias(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 | |
DatastoreResourceQueryPropertiesItemAnyOf2
DatastoreResourceQueryPropertiesItemAnyOf2(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
expression: (
cmsgov.provider_data.v1.model.DatastoreQueryExpression
| None
) = None,
alias: str | None = None,
)
Bases: sob.Object
Attributes:
-
expression(cmsgov.provider_data.v1.model.DatastoreQueryExpression | None) –Arithmetic or aggregate expression performed on one or more properties.
-
alias(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 | |
DatastoreResourceQuerySorts
DatastoreResourceQuerySorts(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.DatastoreQuerySort
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Result sorting directives.
Source code in src/cmsgov/provider_data/v1/model.py
2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 | |
ErrorResponse
ErrorResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
message: str | None = None,
status: int | None = None,
timestamp: datetime.datetime | None = None,
data: sob.Dictionary | None = None,
)
Bases: sob.Object
Attributes:
-
message(str | None) –Error message.
-
status(int | None) – -
timestamp(datetime.datetime | None) – -
data(sob.Dictionary | None) –Arbitrary object storing more detailed data on the error message.
Source code in src/cmsgov/provider_data/v1/model.py
2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 | |
Facets
Facets(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.FacetsItem
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Array of facet values.
Source code in src/cmsgov/provider_data/v1/model.py
2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 | |
FacetsItem
FacetsItem(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
name: str | None = None,
total: str | int | None = None,
)
Bases: sob.Object
Attributes:
-
type_(str | None) –Machine name for the metastore property to filter on.
-
name(str | None) –The facet filter value, for instance, the tet of a keyword to filter by
-
total(str | int | None) –Number of results in the current result set that match this filter.
Source code in src/cmsgov/provider_data/v1/model.py
2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 | |
HarvestPlan
HarvestPlan(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
identifier: str | None = None,
extract: (
cmsgov.provider_data.v1.model.HarvestPlanExtract
| None
) = None,
load: (
cmsgov.provider_data.v1.model.HarvestPlanLoad | None
) = None,
)
Bases: sob.Object
Attributes:
-
identifier(str | None) – -
extract(cmsgov.provider_data.v1.model.HarvestPlanExtract | None) – -
load(cmsgov.provider_data.v1.model.HarvestPlanLoad | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 | |
HarvestPlanExtract
HarvestPlanExtract(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
uri: str | None = None,
)
Bases: sob.Object
Attributes:
-
type_(str | None) – -
uri(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 | |
HarvestPlanLoad
HarvestPlanLoad(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
)
Bases: sob.Object
Attributes:
-
type_(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 | |
MetastoreNewRevision
MetastoreNewRevision(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
message: str | None = None,
state: str | None = None,
)
Bases: sob.Object
When creating a new revision, you may only submit a message and state.
Attributes:
-
message(str | None) –Revision log message.
-
state(str | None) –The workflow state of this revision. Currently five states are supported in DKAN.
Source code in src/cmsgov/provider_data/v1/model.py
2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 | |
MetastoreRevision
MetastoreRevision(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
identifier: str | None = None,
published: bool | None = None,
message: str | None = None,
modified: datetime.datetime | None = None,
state: str | None = None,
)
Bases: sob.Object
Attributes:
-
identifier(str | None) –Revision identifier.
-
published(bool | None) –Is this the currently published revision?.
-
message(str | None) –Revision log message.
-
modified(datetime.datetime | None) –Timestamp of this revision/modification.
-
state(str | None) –The workflow state of this revision. Currently five states are supported in DKAN.
Source code in src/cmsgov/provider_data/v1/model.py
2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 | |
MetastoreWriteResponse
MetastoreWriteResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
endpoint: str | None = None,
identifier: str | None = None,
)
Bases: sob.Object
Attributes:
-
endpoint(str | None) –Path to the metadata from the API.
-
identifier(str | None) –Identifier for metadata just created or modified.
Source code in src/cmsgov/provider_data/v1/model.py
2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 | |
DatastoreImportsPostRequest
DatastoreImportsPostRequest(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
plan_id: str | None = None,
)
Bases: sob.Object
Attributes:
-
plan_id(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 | |
DatastoreImportDeleteResponse
DatastoreImportDeleteResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
message: str | None = None,
)
Bases: sob.Object
Attributes:
-
message(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 | |
DatastoreImportGetResponse
DatastoreImportGetResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
num_of_rows: int | None = None,
num_of_columns: int | None = None,
columns: sob.Dictionary | None = None,
)
Bases: sob.Object
Attributes:
-
num_of_rows(int | None) – -
num_of_columns(int | None) – -
columns(sob.Dictionary | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 | |
HarvestPlansPostResponse
HarvestPlansPostResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
endpoint: str | None = None,
identifier: str | None = None,
)
Bases: sob.Object
Attributes:
-
endpoint(str | None) – -
identifier(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 | |
HarvestRunsPostRequest
HarvestRunsPostRequest(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
plan_id: str | None = None,
)
Bases: sob.Object
Attributes:
-
plan_id(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 | |
HarvestRunsPostResponse
HarvestRunsPostResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
identifier: str | None = None,
result: str | None = None,
)
Bases: sob.Object
Attributes:
-
identifier(str | None) – -
result(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 | |
MetastoreSchemasDatasetItemsPatchRequest
MetastoreSchemasDatasetItemsPatchRequest(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
title: str | None = None,
identifier: str | None = None,
description: str | None = None,
access_level: str | None = None,
rights: str | sob.Null | None = None,
accrual_periodicity: str | None = None,
described_by: str | None = None,
described_by_type: str | None = None,
issued: str | None = None,
modified: str | None = None,
released: str | None = None,
next_update_date: str | None = None,
license_: str | None = None,
spatial: str | None = None,
temporal: str | None = None,
is_part_of: str | None = None,
publisher: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaPublisher
| None
) = None,
bureau_code: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaBureauCode
| None
) = None,
program_code: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaProgramCode
| None
) = None,
contact_point: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaContactPoint
| sob.Dictionary
| None
) = None,
theme: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaTheme
| None
) = None,
keyword: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaKeyword
| None
) = None,
distribution: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistribution
| None
) = None,
references: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaReferences
| None
) = None,
archive_exclude: bool | None = None,
)
Bases: sob.Object
The metadata format for all federal open data. Validates a single JSON object entry (as opposed to entire Data.json catalog).
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be dcat:Dataset for each Dataset.
-
title(str | None) –Human-readable name of the asset. Should be in plain English and include sufficient detail to facilitate search and discovery.
-
identifier(str | None) –A unique identifier for the dataset or API as maintained within an Agency catalog or database.
-
description(str | None) –Human-readable description (e.g., an abstract) with sufficient detail to enable a user to quickly understand whether the asset is of interest.
-
access_level(str | None) –The degree to which this dataset could be made publicly-available, regardless of whether it has been made available. Choices: public (Data asset is or could be made publicly available to all without restrictions), restricted public (Data asset is available under certain use restrictions), or non-public ( Data asset is not available to members of the public).
-
rights(str | sob.Null | None) –This may include information regarding access or restrictions based on privacy, security, or other policies. This should also provide an explanation for the selected "accessLevel" including instructions for how to access a restricted file, if applicable, or explanation for why a "non-public" or "restricted public" data assetis not "public," if applicable. Text, 255 characters.
-
accrual_periodicity(str | None) –Frequency with which dataset is published.
-
described_by(str | None) –URL to the data dictionary for the dataset or API. Note that documentation other than a data dictionary can be referenced using Related Documents as shown in the expanded fields.
-
described_by_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.
-
issued(str | None) –Date of formal issuance.
-
modified(str | None) –Most recent date on which the dataset was changed, updated or modified.
-
released(str | None) –Date on which the dataset is scheduled to be published.
-
next_update_date(str | None) –The date on which the dataset is expected to be updated next.
-
license_(str | None) –The license dataset or API is published with. See Open Licenses</ a> for more information.
-
spatial(str | None) –The spatial coverage of the dataset. Could include a spatial region like a bounding box or a named place.
-
temporal(str | None) –The start and end dates for which the dataset is applicable, separated by a "/" (i.e., 2000-01-15T00:45:00Z/2010-01- 15T00:06:00Z).
-
is_part_of(str | None) –The collection of which the dataset is a subset.
-
publisher(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaPublisher | None) –A Dataset Publisher Organization.
-
bureau_code(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaBureauCode | None) –Federal agencies, combined agency and bureau code from OMB Circular A-11, Appendix C in the format of
015:010. -
program_code(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaProgramCode | None) –Federal agencies, list the primary program related to this data asset, from the Federal Program Inventory. Use the format of
015:001 -
contact_point(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaContactPoint | sob.Dictionary | None) –A Dataset ContactPoint as a vCard object.
-
theme(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaTheme | None) –Main thematic category of the dataset.
-
keyword(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaKeyword | None) –Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non- technical users.
-
distribution(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistribution | None) –A distribution is a container for the data object. Each distribution should contain one accessURL or downloadURL. When providing a downloadURL, also include the format of the file.
-
references(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaReferences | None) –Related documents such as technical information about a dataset, developer documentation, etc.
-
archive_exclude(bool | None) –For excluding this dataset from its provider's ' download all datasets'.
Source code in src/cmsgov/provider_data/v1/model.py
3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaBureauCode
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaBureauCode(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Federal agencies, combined agency and bureau code from
OMB Circular A-11, Appendix C in the format of 015:010.
Source code in src/cmsgov/provider_data/v1/model.py
3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaContactPoint
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaContactPoint(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
fn: str | None = None,
has_email: str | None = None,
has_url: str | None = None,
)
Bases: sob.Object
A Dataset ContactPoint as a vCard object.
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be vcard:Contact for contactPoint.
-
fn(str | None) –A full formatted name, e.g. Firstname Lastname.
-
has_email(str | None) –Email address for the contact name.
-
has_url(str | None) –URL for the contact
Source code in src/cmsgov/provider_data/v1/model.py
3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistribution
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistribution(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistributionItem
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
A distribution is a container for the data object. Each distribution should contain one accessURL or downloadURL. When providing a downloadURL, also include the format of the file.
Source code in src/cmsgov/provider_data/v1/model.py
3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistributionItem
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaDistributionItem(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
title: str | None = None,
description: str | None = None,
format_: str | None = None,
media_type: str | None = None,
download_url: str | None = None,
access_url: str | None = None,
conforms_to: str | None = None,
described_by: str | None = None,
described_by_type: str | None = None,
)
Bases: sob.Object
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be dcat: Distribution for each Distribution.
-
title(str | None) –Human-readable name of the file.
-
description(str | None) –Human-readable description of the file.
-
format_(str | None) –A human-readable description of the file format of a distribution (i.e. csv, pdf, kml, etc.).
-
media_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s downloadURL.
-
download_url(str | None) –URL providing direct access to a downloadable file of a dataset.
-
access_url(str | None) –URL providing indirect access to a dataset.
-
conforms_to(str | None) –URI used to identify a standardized specification the distribution conforms to.
-
described_by(str | None) –URL to the data dictionary for the distribution found at the downloadURL.
-
described_by_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.
Source code in src/cmsgov/provider_data/v1/model.py
3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaKeyword
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaKeyword(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non-technical users.
Source code in src/cmsgov/provider_data/v1/model.py
3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaProgramCode
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaProgramCode(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Federal agencies, list the primary program related to this data asset, from
the Federal Program
Inventory. Use the format of 015:001
Source code in src/cmsgov/provider_data/v1/model.py
3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaPublisher
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaPublisher(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
name: str | None = None,
sub_organization_of: str | None = None,
)
Bases: sob.Object
A Dataset Publisher Organization.
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be org: Organization for each publisher
-
name(str | None) – -
sub_organization_of(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaReferences
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaReferences(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Related documents such as technical information about a dataset, developer documentation, etc.
Source code in src/cmsgov/provider_data/v1/model.py
3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 | |
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaTheme
MetastoreSchemasDatasetItemsPatchRequestBodyContentApplicationJsonSchemaTheme(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Main thematic category of the dataset.
Source code in src/cmsgov/provider_data/v1/model.py
3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequest
MetastoreSchemasDatasetItemsIdentifierPatchRequest(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
title: str | None = None,
identifier: str | None = None,
description: str | None = None,
access_level: str | None = None,
rights: str | sob.Null | None = None,
accrual_periodicity: str | None = None,
described_by: str | None = None,
described_by_type: str | None = None,
issued: str | None = None,
modified: str | None = None,
released: str | None = None,
next_update_date: str | None = None,
license_: str | None = None,
spatial: str | None = None,
temporal: str | None = None,
is_part_of: str | None = None,
publisher: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaPublisher
| None
) = None,
bureau_code: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaBureauCode
| None
) = None,
program_code: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaProgramCode
| None
) = None,
contact_point: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaContactPoint
| sob.Dictionary
| None
) = None,
theme: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaTheme
| None
) = None,
keyword: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaKeyword
| None
) = None,
distribution: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistribution
| None
) = None,
references: (
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaReferences
| None
) = None,
archive_exclude: bool | None = None,
)
Bases: sob.Object
The metadata format for all federal open data. Validates a single JSON object entry (as opposed to entire Data.json catalog).
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be dcat:Dataset for each Dataset.
-
title(str | None) –Human-readable name of the asset. Should be in plain English and include sufficient detail to facilitate search and discovery.
-
identifier(str | None) –A unique identifier for the dataset or API as maintained within an Agency catalog or database.
-
description(str | None) –Human-readable description (e.g., an abstract) with sufficient detail to enable a user to quickly understand whether the asset is of interest.
-
access_level(str | None) –The degree to which this dataset could be made publicly-available, regardless of whether it has been made available. Choices: public (Data asset is or could be made publicly available to all without restrictions), restricted public (Data asset is available under certain use restrictions), or non-public ( Data asset is not available to members of the public).
-
rights(str | sob.Null | None) –This may include information regarding access or restrictions based on privacy, security, or other policies. This should also provide an explanation for the selected "accessLevel" including instructions for how to access a restricted file, if applicable, or explanation for why a "non-public" or "restricted public" data assetis not "public," if applicable. Text, 255 characters.
-
accrual_periodicity(str | None) –Frequency with which dataset is published.
-
described_by(str | None) –URL to the data dictionary for the dataset or API. Note that documentation other than a data dictionary can be referenced using Related Documents as shown in the expanded fields.
-
described_by_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.
-
issued(str | None) –Date of formal issuance.
-
modified(str | None) –Most recent date on which the dataset was changed, updated or modified.
-
released(str | None) –Date on which the dataset is scheduled to be published.
-
next_update_date(str | None) –The date on which the dataset is expected to be updated next.
-
license_(str | None) –The license dataset or API is published with. See Open Licenses</ a> for more information.
-
spatial(str | None) –The spatial coverage of the dataset. Could include a spatial region like a bounding box or a named place.
-
temporal(str | None) –The start and end dates for which the dataset is applicable, separated by a "/" (i.e., 2000-01-15T00:45:00Z/2010-01- 15T00:06:00Z).
-
is_part_of(str | None) –The collection of which the dataset is a subset.
-
publisher(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaPublisher | None) –A Dataset Publisher Organization.
-
bureau_code(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaBureauCode | None) –Federal agencies, combined agency and bureau code from OMB Circular A-11, Appendix C in the format of
015:010. -
program_code(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaProgramCode | None) –Federal agencies, list the primary program related to this data asset, from the Federal Program Inventory. Use the format of
015:001 -
contact_point(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaContactPoint | sob.Dictionary | None) –A Dataset ContactPoint as a vCard object.
-
theme(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaTheme | None) –Main thematic category of the dataset.
-
keyword(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaKeyword | None) –Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non- technical users.
-
distribution(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistribution | None) –A distribution is a container for the data object. Each distribution should contain one accessURL or downloadURL. When providing a downloadURL, also include the format of the file.
-
references(cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaReferences | None) –Related documents such as technical information about a dataset, developer documentation, etc.
-
archive_exclude(bool | None) –For excluding this dataset from its provider's ' download all datasets'.
Source code in src/cmsgov/provider_data/v1/model.py
3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaBureauCode
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaBureauCode(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Federal agencies, combined agency and bureau code from
OMB Circular A-11, Appendix C in the format of 015:010.
Source code in src/cmsgov/provider_data/v1/model.py
4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaContactPoint
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaContactPoint(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
fn: str | None = None,
has_email: str | None = None,
has_url: str | None = None,
)
Bases: sob.Object
A Dataset ContactPoint as a vCard object.
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be vcard:Contact for contactPoint.
-
fn(str | None) –A full formatted name, e.g. Firstname Lastname.
-
has_email(str | None) –Email address for the contact name.
-
has_url(str | None) –URL for the contact
Source code in src/cmsgov/provider_data/v1/model.py
4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistribution
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistribution(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistributionItem
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
A distribution is a container for the data object. Each distribution should contain one accessURL or downloadURL. When providing a downloadURL, also include the format of the file.
Source code in src/cmsgov/provider_data/v1/model.py
4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistributionItem
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaDistributionItem(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
title: str | None = None,
description: str | None = None,
format_: str | None = None,
media_type: str | None = None,
download_url: str | None = None,
access_url: str | None = None,
conforms_to: str | None = None,
described_by: str | None = None,
described_by_type: str | None = None,
)
Bases: sob.Object
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be dcat: Distribution for each Distribution.
-
title(str | None) –Human-readable name of the file.
-
description(str | None) –Human-readable description of the file.
-
format_(str | None) –A human-readable description of the file format of a distribution (i.e. csv, pdf, kml, etc.).
-
media_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s downloadURL.
-
download_url(str | None) –URL providing direct access to a downloadable file of a dataset.
-
access_url(str | None) –URL providing indirect access to a dataset.
-
conforms_to(str | None) –URI used to identify a standardized specification the distribution conforms to.
-
described_by(str | None) –URL to the data dictionary for the distribution found at the downloadURL.
-
described_by_type(str | None) –The machine-readable file format (IANA Media Type or MIME Type) of the distribution’s describedBy URL.
Source code in src/cmsgov/provider_data/v1/model.py
4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaKeyword
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaKeyword(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Tags (or keywords) help users discover your dataset; please include terms that would be used by technical and non-technical users.
Source code in src/cmsgov/provider_data/v1/model.py
4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaProgramCode
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaProgramCode(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Federal agencies, list the primary program related to this data asset, from
the Federal Program
Inventory. Use the format of 015:001
Source code in src/cmsgov/provider_data/v1/model.py
4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaPublisher
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaPublisher(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
type_: str | None = None,
name: str | None = None,
sub_organization_of: str | None = None,
)
Bases: sob.Object
A Dataset Publisher Organization.
Attributes:
-
type_(str | None) –IRI for the JSON-LD data type. This should be org: Organization for each publisher
-
name(str | None) – -
sub_organization_of(str | None) –
Source code in src/cmsgov/provider_data/v1/model.py
4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaReferences
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaReferences(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Related documents such as technical information about a dataset, developer documentation, etc.
Source code in src/cmsgov/provider_data/v1/model.py
4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 | |
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaTheme
MetastoreSchemasDatasetItemsIdentifierPatchRequestBodyContentApplicationJsonSchemaTheme(
items: (
typing.Iterable[str]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Main thematic category of the dataset.
Source code in src/cmsgov/provider_data/v1/model.py
4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 | |
MetastoreSchemasSchemaIdItemsGetResponse
MetastoreSchemasSchemaIdItemsGetResponse(
items: (
typing.Iterable[sob.Dictionary]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Array of metastore items matching the chosen schema.
Source code in src/cmsgov/provider_data/v1/model.py
4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 | |
MetastoreSchemasSchemaIdItemsIdentifierRevisionsGetResponse
MetastoreSchemasSchemaIdItemsIdentifierRevisionsGetResponse(
items: (
typing.Iterable[
cmsgov.provider_data.v1.model.MetastoreRevision
]
| sob.abc.Readable
| str
| bytes
| None
) = None,
)
Bases: sob.Array
Array of revision objects.
Source code in src/cmsgov/provider_data/v1/model.py
4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 | |
MetastoreSchemaRevisionPostRequest
MetastoreSchemaRevisionPostRequest(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
message: str | None = None,
state: str | None = None,
)
Bases: sob.Object
Attributes:
-
message(str | None) –Revision log message.
-
state(str | None) –The workflow state of this revision. Currently five states are supported in DKAN.
Source code in src/cmsgov/provider_data/v1/model.py
4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 | |
SearchGetResponse
SearchGetResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
total: str | int | None = None,
results: sob.Array | sob.Dictionary | None = None,
facets: (
cmsgov.provider_data.v1.model.Facets | None
) = None,
)
Bases: sob.Object
Attributes:
-
total(str | int | None) –Total search results for query.
-
results(sob.Array | sob.Dictionary | None) –An object with keys following the format "dkan_dataset/[ uuid]", containing full dataset objects from the DKAN metastore.
-
facets(cmsgov.provider_data.v1.model.Facets | None) –Array of facet values.
Source code in src/cmsgov/provider_data/v1/model.py
4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 | |
SearchFacetsGetResponse
SearchFacetsGetResponse(
_data: (
sob.abc.Dictionary
| typing.Mapping[str, sob.abc.MarshallableTypes]
| typing.Iterable[
tuple[str, sob.abc.MarshallableTypes]
]
| sob.abc.Readable
| typing.IO
| str
| bytes
| None
) = None,
facets: (
cmsgov.provider_data.v1.model.Facets | None
) = None,
time: float | int | decimal.Decimal | None = None,
results: sob.Array | sob.Dictionary | None = None,
total: str | int | None = None,
)
Bases: sob.Object
Attributes:
-
facets(cmsgov.provider_data.v1.model.Facets | None) –Array of facet values.
-
time(float | int | decimal.Decimal | None) –Execution time.
-
results(sob.Array | sob.Dictionary | None) –An object with keys following the format "dkan_dataset/[ uuid]", containing full dataset objects from the DKAN metastore.
-
total(str | int | None) –Total search results for query.
Source code in src/cmsgov/provider_data/v1/model.py
4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 | |