X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=xml%2Fschema%2FMember%2FMembershipType.xml;h=750f1cb122d455d152ffff974820220acba77a9a;hb=79cffafae988e139ad14440c7502710a23ac15fa;hp=bdbd0610162a9f3d1f76292bb70394a3665bb52a;hpb=6a4880350680e1e4d20e5c8a622a791f926ca750;p=civicrm-core.git
diff --git a/xml/schema/Member/MembershipType.xml b/xml/schema/Member/MembershipType.xml
index bdbd061016..750f1cb122 100644
--- a/xml/schema/Member/MembershipType.xml
+++ b/xml/schema/Member/MembershipType.xml
@@ -30,10 +30,10 @@
id
3.0
-
+
name
- membership_type
+ membership_type
Membership Type
varchar
true
@@ -45,9 +45,11 @@
description
varchar
- textarea
- 6
- 50
+
+ TextArea
+ 6
+ 50
+
255
true
Description of Membership Type
@@ -60,9 +62,9 @@
Owner organization for this membership type. FK to Contact ID
1.5
-
- member_of_contact_id
-
+
+ member_of_contact_id
+
id
1.5
RESTRICT
@@ -75,10 +77,10 @@
1.5
4.3
-
- contribution_type_id
- civicrm_contribution_type
- id
+
+ contribution_type_id
+ civicrm_contribution_type
+ id
1.5
4.3
@@ -89,51 +91,54 @@
If membership is paid by a contribution - what financial type should be used. FK to civicrm_financial_type.id
4.3
-
- financial_type_id
-
- id
+
+ financial_type_id
+
+ id
4.3
-
- minimum_fee
- decimal
- Minimum fee for this membership (0 for free/complimentary memberships).
+
+ minimum_fee
+ decimal
+ Minimum fee for this membership (0 for free/complimentary memberships).
0
- 1.5
-
-
- duration_unit
+ 1.5
+
+
+ duration_unit
enum
day, month, year, lifetime
- Unit in which membership period is expressed.
- 1.5
-
-
+ Unit in which membership period is expressed.
+ 1.5
+
+ Select
+
+
+
duration_interval
int
- Number of duration units in membership period (e.g. 1 year, 12 months).
- 1.5
-
-
- period_type
+ Number of duration units in membership period (e.g. 1 year, 12 months).
+ 1.5
+
+
+ period_type
enum
rolling, fixed
- Rolling membership period starts on signup date. Fixed membership periods start on fixed_period_start_day.
- 1.5
-
-
- fixed_period_start_day
- int
- For fixed period memberships, month and day (mmdd) on which subscription/membership will start. Period start is back-dated unless after rollover day.
- 1.5
-
-
- fixed_period_rollover_day
+ Rolling membership period starts on signup date. Fixed membership periods start on fixed_period_start_day.
+ 1.5
+
+
+ fixed_period_start_day
int
- For fixed period memberships, signups after this day (mmdd) rollover to next period.
- 1.5
-
+ For fixed period memberships, month and day (mmdd) on which subscription/membership will start. Period start is back-dated unless after rollover day.
+ 1.5
+
+
+ fixed_period_rollover_day
+ int
+ For fixed period memberships, signups after this day (mmdd) rollover to next period.
+ 1.5
+
relationship_type_id
varchar
@@ -141,10 +146,10 @@
FK to Relationship Type ID
1.5
-
- relationship_type_id
- civicrm_relationship_type
- id
+
+ relationship_type_id
+ civicrm_relationship_type
+ id
1.5
3.3
@@ -153,11 +158,11 @@
relationship_type_id
3.3
-
- relationship_direction
- varchar
- 128
- 1.7
+
+ relationship_direction
+ varchar
+ 128
+ 1.7
max_related
@@ -166,24 +171,32 @@
4.3
- visibility
+ visibility
Visible
varchar
64
- 1.5
+ 1.5
+
+ visibility
+
+
+ Select
+
-
- weight
+
+ weight
Weight
int
- 1.5
+ 1.5
receipt_text_signup
varchar
- textarea
- 6
- 50
+
+ TextArea
+ 6
+ 50
+
255
Receipt Text for membership signup
2.0
@@ -191,26 +204,28 @@
receipt_text_renewal
varchar
- textarea
- 6
- 50
+
+ TextArea
+ 6
+ 50
+
255
Receipt Text for membership renewal
2.0
-
- auto_renew
+
+ auto_renew
boolean
0
- 0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;
- 3.3
-
-
- is_active
+ 0 = No auto-renew option; 1 = Give option, but not required; 2 = Auto-renew required;
+ 3.3
+
+
+ is_active
Is Active
boolean
1
- Is this membership_type enabled
- 1.5
-
+ Is this membership_type enabled
+ 1.5
+