propresenter-php/proto/planningCenter.proto
Thorsten Bus 22ba4aff7d refactor: make repo Composer-compatible by moving php/ to root and ref/ to doc/reference_samples
- Move src/, tests/, bin/, generated/, proto/, composer.json, composer.lock, phpunit.xml from php/ to repo root
- Move ref/ to doc/reference_samples/ for better organization
- Remove vendor/ from git tracking (now properly gitignored)
- Update all test file paths (dirname adjustments and ref/ -> doc/reference_samples/)
- Update all documentation paths (AGENTS.md, doc/*.md)
- Remove php.bak/ directory
- All 252 tests pass
2026-03-30 13:26:29 +02:00

74 lines
1.9 KiB
Protocol Buffer
Executable file

syntax = "proto3";
package rv.data;
option cc_enable_arenas = true;
option csharp_namespace = "Pro.SerializationInterop.RVProtoData";
option swift_prefix = "RVData_";
import "url.proto";
import "rvtimestamp.proto";
import "presentation.proto";
message PlanningCenterPlan {
message PlanItem {
message Attachment {
string name = 1;
.rv.data.URL url = 2;
.rv.data.Timestamp created_date = 3;
.rv.data.URL linked_path = 4;
uint32 pco_id_num = 5;
bool needs_update = 6;
.rv.data.Timestamp update_date = 7;
string pco_id_str = 8;
}
message SongItem {
message Sequence {
uint32 pco_id_num = 1;
string name = 2;
repeated string group_names = 3;
string pco_id_str = 4;
}
uint32 pco_id_num = 1;
uint32 arrangement_id_num = 2;
.rv.data.Presentation.CCLI ccli = 3;
.rv.data.PlanningCenterPlan.PlanItem.SongItem.Sequence sequence = 4;
string pco_id_str = 5;
string arrangement_id_str = 6;
}
enum PlanItemType {
PLAN_ITEM_TYPE_ITEM = 0;
PLAN_ITEM_TYPE_SONG = 1;
PLAN_ITEM_TYPE_MEDIA = 2;
PLAN_ITEM_TYPE_HEADER = 3;
}
.rv.data.PlanningCenterPlan.PlanItem.PlanItemType item_type = 1;
uint32 pco_id_num = 2;
uint32 service_id_num = 3;
uint32 parent_id_num = 4;
string name = 5;
repeated .rv.data.PlanningCenterPlan.PlanItem.Attachment attachments = 6;
.rv.data.Timestamp update_date = 7;
.rv.data.PlanningCenterPlan.PlanItem.SongItem linked_song = 8;
string pco_id_str = 9;
string service_id_str = 10;
string parent_id_str = 11;
}
uint32 plan_id_num = 1;
uint32 parent_id_num = 2;
string series_title = 3;
string plan_title = 4;
string date_list = 5;
.rv.data.Timestamp created_date = 6;
.rv.data.Timestamp update_date = 7;
.rv.data.Timestamp last_update_check_date = 8;
string plan_id_str = 9;
string parent_id_str = 10;
}