Commit 2dd8fe6
committed
PB-2354 Add validation for CF extension property fields
As for the other extensions (see PB-2355, #658), the CF extension needs
to be
- enabled on Collection level (`stac_extensions_enabled`)
- declared on Item level (`stac_extensions`)1 parent 23b0b4e commit 2dd8fe6
4 files changed
Lines changed: 7 additions & 22 deletions
File tree
- app
- stac_api
- serializers
- tests
- tests_09
- tests_10
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | 409 | | |
424 | 410 | | |
425 | 411 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
| 80 | + | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
678 | 678 | | |
679 | 679 | | |
680 | 680 | | |
681 | | - | |
682 | | - | |
683 | 681 | | |
684 | | - | |
| 682 | + | |
685 | 683 | | |
686 | 684 | | |
687 | 685 | | |
688 | 686 | | |
689 | 687 | | |
690 | | - | |
| 688 | + | |
691 | 689 | | |
692 | 690 | | |
693 | 691 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
814 | 814 | | |
815 | 815 | | |
816 | 816 | | |
817 | | - | |
818 | | - | |
819 | 817 | | |
820 | | - | |
| 818 | + | |
821 | 819 | | |
822 | 820 | | |
823 | 821 | | |
824 | 822 | | |
825 | 823 | | |
826 | | - | |
| 824 | + | |
827 | 825 | | |
828 | 826 | | |
829 | 827 | | |
| |||
0 commit comments